#125F29#125F29
#125F29 is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.7% C 0.112 H 148.5°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #125F29 |
|---|---|
| RGB | rgb(18, 95, 41) |
| HSL | hsl(138, 68%, 22%) |
| HSV | hsv(138, 81%, 37%) |
| CMYK | cmyk(81.1%, 0%, 56.8%, 62.7%) |
| CIE-LAB | lab(34.95, -35.54, 24.35) |
| CIE-LCH | lch(34.95, 43.09, 145.58°) |
| OKLab | oklab(42.73% -0.0955 0.0586) |
| OKLCH | oklch(42.73% 0.112 148.5) |
| XYZ | xyz(4.7415, 8.4726, 3.4829) |
| Luminance | 0.0847 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 3.89
Forest Green
#2D5A27
ΔE00 3.91
Spruce
#0A5F38
ΔE00 4.10
Deep Green
#02590F
ΔE00 4.39
Forest
#0B5509
ΔE00 5.44
Hunter Green
#355E3B
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125F29 #5F1248
analogous
#225F12 #125F29 #125F50
triadic
#125F29 #29125F #5F2912
tetradic
#125F29 #12225F #5F1248 #5F5012
square
#125F29 #12225F #5F1248 #5F5012
split-complementary
#125F29 #50125F #5F1222
monochromatic
#051A0B #082C13 #125F29 #1C923F #25C655
Accessibility & contrast
On white
7.79
#125F29 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#125F29 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125F29
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125F29 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125F29 | 1.00 | 7.79 | 2.69 | 7.79 |
| #FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#605624
Deuteranopia (green-blind)
#57502D
Tritanopia (blue-blind)
#005D53
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #125f29; /* rgb */ color: rgb(18, 95, 41); /* oklch */ color: oklch(42.7% 0.112 148.5);
Tailwind
colors: {
custom: {
50: '#5e8d64',
500: '#125f29',
950: '#000000',
},
}SCSS
$custom: #125f29; $custom-light: #5e8d64; $custom-dark: #000000;
JSON
{
"hex": "#125f29",
"rgb": {
"r": 18,
"g": 95,
"b": 41
},
"hsl": {
"h": 137.922,
"s": 68.142,
"l": 22.157
},
"oklch": {
"l": 0.42732,
"c": 0.11208,
"h": 148.5
},
"luminance": 0.08473
}Semantic roles & 50–950 ramp
primary
#125F29
secondary
#97367A
accent
#3DB7EB
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C05
muted
#797D7A