#125E28#125E28
#125E28 is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.4% C 0.112 H 148.3°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #125E28 |
|---|---|
| RGB | rgb(18, 94, 40) |
| HSL | hsl(137, 68%, 22%) |
| HSV | hsv(137, 81%, 37%) |
| CMYK | cmyk(80.9%, 0%, 57.4%, 63.1%) |
| CIE-LAB | lab(34.57, -35.32, 24.45) |
| CIE-LCH | lch(34.57, 42.95, 145.31°) |
| OKLab | oklab(42.42% -0.095 0.0587) |
| OKLCH | oklch(42.42% 0.112 148.3) |
| XYZ | xyz(4.6348, 8.2867, 3.3623) |
| Luminance | 0.0829 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.75
Pine
#2B5D34
ΔE00 3.87
Spruce
#0A5F38
ΔE00 4.19
Deep Green
#02590F
ΔE00 4.20
Forest
#0B5509
ΔE00 5.20
Hunter Green
#355E3B
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125E28 #5E1248
analogous
#225E12 #125E28 #125E4E
triadic
#125E28 #28125E #5E2812
tetradic
#125E28 #12225E #5E1248 #5E4E12
square
#125E28 #12225E #5E1248 #5E4E12
split-complementary
#125E28 #4E125E #5E1222
monochromatic
#051A0B #082B12 #125E28 #1C913E #26C554
Accessibility & contrast
On white
7.90
#125E28 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#125E28 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125E28
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125E28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125E28 | 1.00 | 7.90 | 2.66 | 7.90 |
| #FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F5523
Deuteranopia (green-blind)
#564F2C
Tritanopia (blue-blind)
#005C52
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #125e28; /* rgb */ color: rgb(18, 94, 40); /* oklch */ color: oklch(42.4% 0.112 148.3);
Tailwind
colors: {
custom: {
50: '#5e8c63',
500: '#125e28',
950: '#000000',
},
}SCSS
$custom: #125e28; $custom-light: #5e8c63; $custom-dark: #000000;
JSON
{
"hex": "#125e28",
"rgb": {
"r": 18,
"g": 94,
"b": 40
},
"hsl": {
"h": 137.368,
"s": 67.857,
"l": 21.961
},
"oklch": {
"l": 0.42417,
"c": 0.11165,
"h": 148.3
},
"luminance": 0.08287
}Semantic roles & 50–950 ramp
primary
#125E28
secondary
#96357A
accent
#3DB8EB
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C05
muted
#797D7A