#125D26#125D26
#125D26 is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.1% C 0.112 H 147.7°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #125D26 |
|---|---|
| RGB | rgb(18, 93, 38) |
| HSL | hsl(136, 68%, 22%) |
| HSV | hsv(136, 81%, 36%) |
| CMYK | cmyk(80.6%, 0%, 59.1%, 63.5%) |
| CIE-LAB | lab(34.18, -35.25, 25.07) |
| CIE-LCH | lch(34.18, 43.26, 144.58°) |
| OKLab | oklab(42.09% -0.0948 0.06) |
| OKLCH | oklch(42.09% 0.112 147.7) |
| XYZ | xyz(4.5133, 8.0967, 3.1583) |
| Luminance | 0.0810 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.59
Deep Green
#02590F
ΔE00 3.82
Pine
#2B5D34
ΔE00 4.03
Spruce
#0A5F38
ΔE00 4.52
Forest
#0B5509
ΔE00 4.77
Hunter Green
#355E3B
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125D26 #5D1249
analogous
#245D12 #125D26 #125D4C
triadic
#125D26 #26125D #5D2612
tetradic
#125D26 #12245D #5D1249 #5D4C12
square
#125D26 #12245D #5D1249 #5D4C12
split-complementary
#125D26 #4C125D #5D1224
monochromatic
#051A0A #082A11 #125D26 #1C903B #26C450
Accessibility & contrast
On white
8.02
#125D26 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#125D26 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125D26
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125D26 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125D26 | 1.00 | 8.02 | 2.62 | 8.02 |
| #FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E5421
Deuteranopia (green-blind)
#564E2A
Tritanopia (blue-blind)
#005B51
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #125d26; /* rgb */ color: rgb(18, 93, 38); /* oklch */ color: oklch(42.1% 0.112 147.7);
Tailwind
colors: {
custom: {
50: '#5e8c62',
500: '#125d26',
950: '#000000',
},
}SCSS
$custom: #125d26; $custom-light: #5e8c62; $custom-dark: #000000;
JSON
{
"hex": "#125d26",
"rgb": {
"r": 18,
"g": 93,
"b": 38
},
"hsl": {
"h": 136,
"s": 67.568,
"l": 21.765
},
"oklch": {
"l": 0.42085,
"c": 0.11218,
"h": 147.7
},
"luminance": 0.08097
}Semantic roles & 50–950 ramp
primary
#125D26
secondary
#95357C
accent
#3DBCEA
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79