#125E31#125E31
#125E31 is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.6% C 0.103 H 152.1°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #125E31 |
|---|---|
| RGB | rgb(18, 94, 49) |
| HSL | hsl(144, 68%, 22%) |
| HSV | hsv(144, 81%, 37%) |
| CMYK | cmyk(80.9%, 0%, 47.9%, 63.1%) |
| CIE-LAB | lab(34.71, -33.69, 19.51) |
| CIE-LCH | lch(34.71, 38.94, 149.92°) |
| OKLab | oklab(42.58% -0.0906 0.048) |
| OKLCH | oklch(42.58% 0.103 152.1) |
| XYZ | xyz(4.8061, 8.3552, 4.2646) |
| Luminance | 0.0836 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 1.96
Pine
#2B5D34
ΔE00 2.95
Forest Green
#2D5A27
ΔE00 4.64
Hunter Green
#355E3B
ΔE00 4.96
Deep Green
#02590F
ΔE00 6.33
Pine Green
#0A481E
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125E31 #5E123F
analogous
#195E12 #125E31 #125E57
triadic
#125E31 #31125E #5E3112
tetradic
#125E31 #12195E #5E123F #5E5712
square
#125E31 #12195E #5E123F #5E5712
split-complementary
#125E31 #57125E #5E1219
monochromatic
#051A0D #082B16 #125E31 #1C914C #26C567
Accessibility & contrast
On white
7.86
#125E31 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#125E31 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125E31
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125E31 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125E31 | 1.00 | 7.86 | 2.67 | 7.86 |
| #FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E552E
Deuteranopia (green-blind)
#554F34
Tritanopia (blue-blind)
#005D53
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #125e31; /* rgb */ color: rgb(18, 94, 49); /* oklch */ color: oklch(42.6% 0.103 152.1);
Tailwind
colors: {
custom: {
50: '#5e8c6a',
500: '#125e31',
950: '#000000',
},
}SCSS
$custom: #125e31; $custom-light: #5e8c6a; $custom-dark: #000000;
JSON
{
"hex": "#125e31",
"rgb": {
"r": 18,
"g": 94,
"b": 49
},
"hsl": {
"h": 144.474,
"s": 67.857,
"l": 21.961
},
"oklch": {
"l": 0.42577,
"c": 0.10256,
"h": 152.1
},
"luminance": 0.08356
}Semantic roles & 50–950 ramp
primary
#125E31
secondary
#96356F
accent
#3DA4EB
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A