#125D28#125D28
#125D28 is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.1% C 0.110 H 148.4°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #125D28 |
|---|---|
| RGB | rgb(18, 93, 40) |
| HSL | hsl(138, 68%, 22%) |
| HSV | hsv(138, 81%, 36%) |
| CMYK | cmyk(80.6%, 0%, 57%, 63.5%) |
| CIE-LAB | lab(34.21, -34.93, 24.01) |
| CIE-LCH | lch(34.21, 42.38, 145.49°) |
| OKLab | oklab(42.12% -0.0939 0.0577) |
| OKLCH | oklch(42.12% 0.11 148.4) |
| XYZ | xyz(4.5464, 8.1100, 3.3328) |
| Luminance | 0.0811 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.66
Pine
#2B5D34
ΔE00 3.73
Spruce
#0A5F38
ΔE00 4.06
Deep Green
#02590F
ΔE00 4.25
Forest
#0B5509
ΔE00 5.18
Hunter Green
#355E3B
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125D28 #5D1247
analogous
#225D12 #125D28 #125D4E
triadic
#125D28 #28125D #5D2812
tetradic
#125D28 #12225D #5D1247 #5D4E12
square
#125D28 #12225D #5D1247 #5D4E12
split-complementary
#125D28 #4E125D #5D1222
monochromatic
#051A0B #082A12 #125D28 #1C903E #26C454
Accessibility & contrast
On white
8.01
#125D28 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#125D28 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125D28
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125D28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125D28 | 1.00 | 8.01 | 2.62 | 8.01 |
| #FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E5423
Deuteranopia (green-blind)
#554E2C
Tritanopia (blue-blind)
#005B51
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #125d28; /* rgb */ color: rgb(18, 93, 40); /* oklch */ color: oklch(42.1% 0.110 148.4);
Tailwind
colors: {
custom: {
50: '#5e8c63',
500: '#125d28',
950: '#000000',
},
}SCSS
$custom: #125d28; $custom-light: #5e8c63; $custom-dark: #000000;
JSON
{
"hex": "#125d28",
"rgb": {
"r": 18,
"g": 93,
"b": 40
},
"hsl": {
"h": 137.6,
"s": 67.568,
"l": 21.765
},
"oklch": {
"l": 0.42117,
"c": 0.11024,
"h": 148.4
},
"luminance": 0.08111
}Semantic roles & 50–950 ramp
primary
#125D28
secondary
#953579
accent
#3DB8EA
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79