#125D2F#125D2F
#125D2F is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.2% C 0.103 H 151.4°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #125D2F |
|---|---|
| RGB | rgb(18, 93, 47) |
| HSL | hsl(143, 68%, 22%) |
| HSV | hsv(143, 81%, 36%) |
| CMYK | cmyk(80.6%, 0%, 49.5%, 63.5%) |
| CIE-LAB | lab(34.32, -33.67, 20.17) |
| CIE-LCH | lch(34.32, 39.25, 149.08°) |
| OKLab | oklab(42.24% -0.0905 0.0495) |
| OKLCH | oklch(42.24% 0.103 151.4) |
| XYZ | xyz(4.6765, 8.1620, 4.0177) |
| Luminance | 0.0816 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.36
Pine
#2B5D34
ΔE00 2.96
Forest Green
#2D5A27
ΔE00 4.34
Hunter Green
#355E3B
ΔE00 5.07
Deep Green
#02590F
ΔE00 5.94
Pine Green
#0A481E
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125D2F #5D1240
analogous
#1B5D12 #125D2F #125D55
triadic
#125D2F #2F125D #5D2F12
tetradic
#125D2F #121B5D #5D1240 #5D5512
square
#125D2F #121B5D #5D1240 #5D5512
split-complementary
#125D2F #55125D #5D121B
monochromatic
#051A0D #082A15 #125D2F #1C9049 #26C463
Accessibility & contrast
On white
7.98
#125D2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#125D2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125D2F
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125D2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125D2F | 1.00 | 7.98 | 2.63 | 7.98 |
| #FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D542B
Deuteranopia (green-blind)
#554E32
Tritanopia (blue-blind)
#005B52
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #125d2f; /* rgb */ color: rgb(18, 93, 47); /* oklch */ color: oklch(42.2% 0.103 151.4);
Tailwind
colors: {
custom: {
50: '#5d8c68',
500: '#125d2f',
950: '#000000',
},
}SCSS
$custom: #125d2f; $custom-light: #5d8c68; $custom-dark: #000000;
JSON
{
"hex": "#125d2f",
"rgb": {
"r": 18,
"g": 93,
"b": 47
},
"hsl": {
"h": 143.2,
"s": 67.568,
"l": 21.765
},
"oklch": {
"l": 0.4224,
"c": 0.10317,
"h": 151.4
},
"luminance": 0.08163
}Semantic roles & 50–950 ramp
primary
#125D2F
secondary
#953570
accent
#3DA8EA
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A