#125E34#125E34
#125E34 is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.6% C 0.099 H 153.6°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #125E34 |
|---|---|
| RGB | rgb(18, 94, 52) |
| HSL | hsl(147, 68%, 22%) |
| HSV | hsv(147, 81%, 37%) |
| CMYK | cmyk(80.9%, 0%, 44.7%, 63.1%) |
| CIE-LAB | lab(34.76, -33.09, 17.82) |
| CIE-LCH | lch(34.76, 37.58, 151.69°) |
| OKLab | oklab(42.64% -0.0891 0.0442) |
| OKLCH | oklch(42.64% 0.099 153.6) |
| XYZ | xyz(4.8715, 8.3814, 4.6092) |
| Luminance | 0.0838 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 1.19
Pine
#2B5D34
ΔE00 2.98
Hunter Green
#355E3B
ΔE00 4.74
Forest Green
#2D5A27
ΔE00 5.16
Pine Green
#0A481E
ΔE00 7.05
Deep Green
#02590F
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125E34 #5E123C
analogous
#165E12 #125E34 #125E5A
triadic
#125E34 #34125E #5E3412
tetradic
#125E34 #12165E #5E123C #5E5A12
square
#125E34 #12165E #5E123C #5E5A12
split-complementary
#125E34 #5A125E #5E1216
monochromatic
#051A0E #082B18 #125E34 #1C9150 #26C56D
Accessibility & contrast
On white
7.85
#125E34 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#125E34 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125E34
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125E34 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125E34 | 1.00 | 7.85 | 2.68 | 7.85 |
| #FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E5631
Deuteranopia (green-blind)
#554F37
Tritanopia (blue-blind)
#005D54
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #125e34; /* rgb */ color: rgb(18, 94, 52); /* oklch */ color: oklch(42.6% 0.099 153.6);
Tailwind
colors: {
custom: {
50: '#5e8c6c',
500: '#125e34',
950: '#000000',
},
}SCSS
$custom: #125e34; $custom-light: #5e8c6c; $custom-dark: #000000;
JSON
{
"hex": "#125e34",
"rgb": {
"r": 18,
"g": 94,
"b": 52
},
"hsl": {
"h": 146.842,
"s": 67.857,
"l": 21.961
},
"oklch": {
"l": 0.42638,
"c": 0.09945,
"h": 153.6
},
"luminance": 0.08382
}Semantic roles & 50–950 ramp
primary
#125E34
secondary
#96356B
accent
#3D9DEB
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C07
muted
#797D7A