#125E25#125E25
#125E25 is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.4% C 0.115 H 147.2°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #125E25 |
|---|---|
| RGB | rgb(18, 94, 37) |
| HSL | hsl(135, 68%, 22%) |
| HSV | hsv(135, 81%, 37%) |
| CMYK | cmyk(80.9%, 0%, 60.6%, 63.1%) |
| CIE-LAB | lab(34.53, -35.79, 26.03) |
| CIE-LCH | lch(34.53, 44.26, 143.97°) |
| OKLab | oklab(42.37% -0.0963 0.062) |
| OKLCH | oklch(42.37% 0.115 147.2) |
| XYZ | xyz(4.5857, 8.2670, 3.1039) |
| Luminance | 0.0827 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.59
Forest Green
#2D5A27
ΔE00 3.71
Pine
#2B5D34
ΔE00 4.33
Forest
#0B5509
ΔE00 4.64
Spruce
#0A5F38
ΔE00 4.87
Darkgreen
#006400
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125E25 #5E124B
analogous
#255E12 #125E25 #125E4B
triadic
#125E25 #25125E #5E2512
tetradic
#125E25 #12255E #5E124B #5E4B12
square
#125E25 #12255E #5E124B #5E4B12
split-complementary
#125E25 #4B125E #5E1225
monochromatic
#051A0A #082B11 #125E25 #1C9139 #26C54D
Accessibility & contrast
On white
7.91
#125E25 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#125E25 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125E25
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125E25 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125E25 | 1.00 | 7.91 | 2.65 | 7.91 |
| #FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F551F
Deuteranopia (green-blind)
#574F29
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #125e25; /* rgb */ color: rgb(18, 94, 37); /* oklch */ color: oklch(42.4% 0.115 147.2);
Tailwind
colors: {
custom: {
50: '#5e8c61',
500: '#125e25',
950: '#000000',
},
}SCSS
$custom: #125e25; $custom-light: #5e8c61; $custom-dark: #000000;
JSON
{
"hex": "#125e25",
"rgb": {
"r": 18,
"g": 94,
"b": 37
},
"hsl": {
"h": 135,
"s": 67.857,
"l": 21.961
},
"oklch": {
"l": 0.42371,
"c": 0.11452,
"h": 147.2
},
"luminance": 0.08268
}Semantic roles & 50–950 ramp
primary
#125E25
secondary
#96357E
accent
#3DBFEB
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79