#125F2F#125F2F
#125F2F is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.8% C 0.106 H 150.9°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #125F2F |
|---|---|
| RGB | rgb(18, 95, 47) |
| HSL | hsl(143, 68%, 22%) |
| HSV | hsv(143, 81%, 37%) |
| CMYK | cmyk(81.1%, 0%, 50.5%, 62.7%) |
| CIE-LAB | lab(35.04, -34.48, 21.09) |
| CIE-LCH | lch(35.04, 40.42, 148.55°) |
| OKLab | oklab(42.84% -0.0927 0.0516) |
| OKLCH | oklch(42.84% 0.106 150.9) |
| XYZ | xyz(4.8543, 8.5177, 4.0770) |
| Luminance | 0.0852 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.63
Pine
#2B5D34
ΔE00 3.18
Forest Green
#2D5A27
ΔE00 4.39
Hunter Green
#355E3B
ΔE00 5.28
Deep Green
#02590F
ΔE00 5.75
Forest
#0B5509
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125F2F #5F1242
analogous
#1C5F12 #125F2F #125F56
triadic
#125F2F #2F125F #5F2F12
tetradic
#125F2F #121C5F #5F1242 #5F5612
square
#125F2F #121C5F #5F1242 #5F5612
split-complementary
#125F2F #56125F #5F121C
monochromatic
#051A0D #082C16 #125F2F #1C9248 #25C662
Accessibility & contrast
On white
7.77
#125F2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#125F2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125F2F
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125F2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125F2F | 1.00 | 7.77 | 2.70 | 7.77 |
| #FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F562B
Deuteranopia (green-blind)
#575032
Tritanopia (blue-blind)
#005D54
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #125f2f; /* rgb */ color: rgb(18, 95, 47); /* oklch */ color: oklch(42.8% 0.106 150.9);
Tailwind
colors: {
custom: {
50: '#5e8d68',
500: '#125f2f',
950: '#000000',
},
}SCSS
$custom: #125f2f; $custom-light: #5e8d68; $custom-dark: #000000;
JSON
{
"hex": "#125f2f",
"rgb": {
"r": 18,
"g": 95,
"b": 47
},
"hsl": {
"h": 142.597,
"s": 68.142,
"l": 22.157
},
"oklch": {
"l": 0.42836,
"c": 0.10607,
"h": 150.9
},
"luminance": 0.08518
}Semantic roles & 50–950 ramp
primary
#125F2F
secondary
#973672
accent
#3DA9EB
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A