#125E2A#125E2A
#125E2A is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.4% C 0.110 H 149.0°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #125E2A |
|---|---|
| RGB | rgb(18, 94, 42) |
| HSL | hsl(139, 68%, 22%) |
| HSV | hsv(139, 81%, 37%) |
| CMYK | cmyk(80.9%, 0%, 55.3%, 63.1%) |
| CIE-LAB | lab(34.60, -34.98, 23.37) |
| CIE-LCH | lch(34.60, 42.07, 146.25°) |
| OKLab | oklab(42.45% -0.094 0.0565) |
| OKLCH | oklch(42.45% 0.11 149) |
| XYZ | xyz(4.6697, 8.3006, 3.5461) |
| Luminance | 0.0830 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 3.58
Spruce
#0A5F38
ΔE00 3.71
Forest Green
#2D5A27
ΔE00 3.85
Deep Green
#02590F
ΔE00 4.64
Forest
#0B5509
ΔE00 5.60
Hunter Green
#355E3B
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125E2A #5E1246
analogous
#205E12 #125E2A #125E50
triadic
#125E2A #2A125E #5E2A12
tetradic
#125E2A #12205E #5E1246 #5E5012
square
#125E2A #12205E #5E1246 #5E5012
split-complementary
#125E2A #50125E #5E1220
monochromatic
#051A0B #082B13 #125E2A #1C9141 #26C558
Accessibility & contrast
On white
7.89
#125E2A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#125E2A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125E2A
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125E2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125E2A | 1.00 | 7.89 | 2.66 | 7.89 |
| #FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F5526
Deuteranopia (green-blind)
#564F2E
Tritanopia (blue-blind)
#005C52
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #125e2a; /* rgb */ color: rgb(18, 94, 42); /* oklch */ color: oklch(42.4% 0.110 149.0);
Tailwind
colors: {
custom: {
50: '#5e8c65',
500: '#125e2a',
950: '#000000',
},
}SCSS
$custom: #125e2a; $custom-light: #5e8c65; $custom-dark: #000000;
JSON
{
"hex": "#125e2a",
"rgb": {
"r": 18,
"g": 94,
"b": 42
},
"hsl": {
"h": 138.947,
"s": 67.857,
"l": 21.961
},
"oklch": {
"l": 0.4245,
"c": 0.10968,
"h": 149
},
"luminance": 0.08301
}Semantic roles & 50–950 ramp
primary
#125E2A
secondary
#963578
accent
#3DB4EB
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C05
muted
#797D7A