Action
Primary button
Use the controls above or point to and press the button to inspect its visual states.
Color reference
Soft Mid-light Green
This is a soft, mid-light green under the deterministic OKLCH hue, lightness, and chroma ranges. Its closest standardized CSS named color is Sea Green (#2E8B57), measured with straight-line OKLab distance.
Copyable values
Values are calculated from the same opaque sRGB color. Display rounding does not alter the internal calculations.
| Format | Value | Action |
|---|---|---|
| HEX | #427B5A |
|
| RGB | rgb(66 123 90) |
|
| HSL | hsl(145 30.16% 37.06%) |
|
| HSV | hsv(145 46.34% 48.24%) |
|
| HWB | hwb(145 25.88% 51.76%) |
|
| XYZ D65 | color(xyz-d65 0.111746 0.160619 0.121846) |
|
| LAB | lab(47.0155% -25.7406 12.0382) |
|
| LCH | lch(47.0155% 28.4165 154.9358) |
|
| OKLAB | oklab(53.4095% -0.073757 0.031489) |
|
| OKLCH | oklch(53.4095% 0.080198 156.881) |
Real-world test
Preview the source as a primary action, subtle status, form treatment, and card surface. Persistent state controls help touch and keyboard users inspect the same normal, hover, and active colors.
Action
Use the controls above or point to and press the button to inspect its visual states.
Status
A 12% source tint over white provides the background; readable text is selected separately.
Form
Source ring on white: 4.99:1 · meets the 3:1 non-text threshold where applicable.
Surface
The selected state becomes the card surface with its strongest black-or-white text pairing.
Accessibility diagnostics
Each result applies only to the named foreground, background, text size, and requirement. It is not a complete accessibility or component-conformance claim.
On white
On black
Use guidance
Pass in a tested context
#427B5A reaches 4.77:1 on Hue Codex paper, meeting WCAG AA for normal text in that exact pairing.
Potential fit
Against Hue Codex paper, the color reaches 4.77:1. That meets the 3:1 color-contrast threshold where WCAG 1.4.11 applies, but states, shape, and non-color cues still need review.
Readable pairing available
White text provides the stronger black/white pairing on #427B5A at 4.99:1. This validates only that text pair, not hover, focus, disabled, or adjacent-color states.
Distinctive accent
Its OKLCH chroma of 0.0802 gives it enough visual presence for an accent or primary role when the tested foreground and neighboring colors pass.
Pair available
The stronger black/white background is white at 4.99:1. Always retest against the actual rendered background and text size.
Tested backgrounds
| Pair | Background | Contrast ratio |
|---|---|---|
| White#FFFFFF | 4.99:1 | |
| Hue Codex paper#FBFAF5 | 4.77:1 | |
| Soft neutral#F2EFE6 | 4.34:1 | |
| Black#000000 | 4.21:1 | |
| Hue Codex ink#10212B | 3.31:1 |
Design-system starting point
The source color is preserved at the nearest lightness step. Other swatches keep its OKLCH hue, moderate chroma toward the extremes, and reduce chroma only when needed to remain in sRGB.
This is a Hue Codex reference scale, not a claim that the values match Tailwind, Material, or another framework’s named palette.
Adjust the #427B5A scale in Tints, Shades & TonesColor relationships
Hue rotations use OKLCH while preserving lightness and requested chroma. When a rotated result falls outside sRGB, chroma is reduced deterministically and disclosed.
Applied pairing
The source anchors the main action while the complement marks a secondary status. Contrast is selected separately for each fill.
Distance matching
Matches use straight-line OKLab distance ×100. A smaller value means the coordinates are closer in this model; it is not a claim that two tokens are interchangeable in a design system.
CSS named color
#2E8B57 OKLab distance ×100: 5.18
Tailwind v4 default
oklch(50.8% 0.118 165.612)
OKLab distance ×100: 4.83 · sRGB preview #007A55
Print boundary
Reliable print matching needs licensed reference data plus a defined ink, paper, profile, and viewing condition.
Read the print methodologyColor-vision screening
These encoded-sRGB matrix previews are screening approximations. They help reveal possible color-only distinctions but do not reproduce every person’s vision or establish accessibility conformance.
Red-vision deficiency approximation
Green-vision deficiency approximation
Blue-yellow deficiency approximation
Monochromatic-vision approximation
Ready to use
Exports preserve the source, readable foreground, and generated 50–900 scale. Tailwind v4 CSS-first and Tailwind v3 JavaScript-config formats are labeled separately.
Semantic aliases and the complete 50–900 scale.
:root {
--color-primary: #427B5A;
--color-on-primary: #FFFFFF;
--color-primary-oklch: oklch(53.4095% 0.080198 156.881);
--color-primary-50: #DDFFE9;
--color-primary-100: #C3E9D0;
--color-primary-200: #A6D0B5;
--color-primary-300: #89B89B;
--color-primary-400: #6EA081;
--color-primary-500: #528868;
--color-primary-600: #427B5A;
--color-primary-700: #25593C;
--color-primary-800: #0F4329;
--color-primary-900: #002D17;
}
Current @theme syntax for bg-brand, text-brand, and scale utilities.
@import "tailwindcss";
@theme {
--color-brand: #427B5A;
--color-brand-foreground: #FFFFFF;
--color-brand-50: #DDFFE9;
--color-brand-100: #C3E9D0;
--color-brand-200: #A6D0B5;
--color-brand-300: #89B89B;
--color-brand-400: #6EA081;
--color-brand-500: #528868;
--color-brand-600: #427B5A;
--color-brand-700: #25593C;
--color-brand-800: #0F4329;
--color-brand-900: #002D17;
}
CommonJS theme.extend.colors for JavaScript-config projects.
module.exports = {
theme: {
extend: {
colors: {
brand: {
'50': '#DDFFE9',
'100': '#C3E9D0',
'200': '#A6D0B5',
'300': '#89B89B',
'400': '#6EA081',
'500': '#528868',
'600': '#427B5A',
'700': '#25593C',
'800': '#0F4329',
'900': '#002D17',
DEFAULT: '#427B5A',
foreground: '#FFFFFF',
},
},
},
},
};
Semantic source, foreground, OKLCH, and scale variables.
$color-primary: #427B5A;
$color-on-primary: #FFFFFF;
$color-primary-oklch: oklch(53.4095% 0.080198 156.881);
$color-primary-50: #DDFFE9;
$color-primary-100: #C3E9D0;
$color-primary-200: #A6D0B5;
$color-primary-300: #89B89B;
$color-primary-400: #6EA081;
$color-primary-500: #528868;
$color-primary-600: #427B5A;
$color-primary-700: #25593C;
$color-primary-800: #0F4329;
$color-primary-900: #002D17;
Static fallbacks followed by OKLab tint and shade declarations.
:root {
--color-primary: #427B5A;
--color-primary-tint: #A6D0B5;
--color-primary-tint: color-mix(in oklab, var(--color-primary) 72%, white);
--color-primary-shade: #25593C;
--color-primary-shade: color-mix(in oklab, var(--color-primary) 82%, black);
}
Source formats, readable text, and the generated scale.
{
"name": "Soft Mid-light Green",
"hex": "#427B5A",
"rgb": "rgb(66 123 90)",
"oklch": "oklch(53.4095% 0.080198 156.881)",
"recommendedText": "#FFFFFF",
"scale": {
"50": "#DDFFE9",
"100": "#C3E9D0",
"200": "#A6D0B5",
"300": "#89B89B",
"400": "#6EA081",
"500": "#528868",
"600": "#427B5A",
"700": "#25593C",
"800": "#0F4329",
"900": "#002D17"
}
}
Continue the decision
Reference values are a starting point. Test the color in its real role, background, states, typography, and surrounding palette before shipping.