#125F31#125F31
#125F31 is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.9% C 0.104 H 151.8°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).
Color values
| HEX | #125F31 |
|---|---|
| RGB | rgb(18, 95, 49) |
| HSL | hsl(144, 68%, 22%) |
| HSV | hsv(144, 81%, 37%) |
| CMYK | cmyk(81.1%, 0%, 48.4%, 62.7%) |
| CIE-LAB | lab(35.07, -34.10, 19.98) |
| CIE-LCH | lch(35.07, 39.52, 149.64°) |
| OKLab | oklab(42.87% -0.0917 0.0491) |
| OKLCH | oklch(42.87% 0.104 151.8) |
| XYZ | xyz(4.8956, 8.5342, 4.2944) |
| Luminance | 0.0853 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.12
Pine
#2B5D34
ΔE00 3.06
Forest Green
#2D5A27
ΔE00 4.65
Hunter Green
#355E3B
ΔE00 5.07
Deep Green
#02590F
ΔE00 6.24
Forest
#0B5509
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125F31 #5F1240
analogous
#195F12 #125F31 #125F58
triadic
#125F31 #31125F #5F3112
tetradic
#125F31 #12195F #5F1240 #5F5812
square
#125F31 #12195F #5F1240 #5F5812
split-complementary
#125F31 #58125F #5F1219
monochromatic
#051A0D #082C16 #125F31 #1C924C #25C666
Accessibility & contrast
On white
7.76
#125F31 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#125F31 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125F31
7.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125F31 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125F31 | 1.00 | 7.76 | 2.71 | 7.76 |
| #FFFFFF | 7.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F562E
Deuteranopia (green-blind)
#565034
Tritanopia (blue-blind)
#005D54
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #125f31; /* rgb */ color: rgb(18, 95, 49); /* oklch */ color: oklch(42.9% 0.104 151.8);
Tailwind
colors: {
custom: {
50: '#5e8d6a',
500: '#125f31',
950: '#000000',
},
}SCSS
$custom: #125f31; $custom-light: #5e8d6a; $custom-dark: #000000;
JSON
{
"hex": "#125f31",
"rgb": {
"r": 18,
"g": 95,
"b": 49
},
"hsl": {
"h": 144.156,
"s": 68.142,
"l": 22.157
},
"oklch": {
"l": 0.42874,
"c": 0.10402,
"h": 151.8
},
"luminance": 0.08535
}Semantic roles & 50–950 ramp
primary
#125F31
secondary
#973670
accent
#3DA5EB
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A