#125E18#125E18
#125E18 is a dark, vivid green. Relative luminance 0.082; OKLCH L 42.2% C 0.125 H 143.9°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #125E18 |
|---|---|
| RGB | rgb(18, 94, 24) |
| HSL | hsl(125, 68%, 22%) |
| HSV | hsv(125, 81%, 37%) |
| CMYK | cmyk(80.9%, 0%, 74.5%, 63.1%) |
| CIE-LAB | lab(34.39, -37.46, 32.30) |
| CIE-LCH | lch(34.39, 49.46, 139.23°) |
| OKLab | oklab(42.21% -0.1014 0.074) |
| OKLCH | oklch(42.21% 0.125 143.9) |
| XYZ | xyz(4.4167, 8.1994, 2.2139) |
| Luminance | 0.0820 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 1.83
Forest
#0B5509
ΔE00 3.04
Darkgreen
#006400
ΔE00 3.75
Forest Green
#2D5A27
ΔE00 4.50
Bottle Green
#044A05
ΔE00 6.24
Pine
#2B5D34
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125E18 #5E1258
analogous
#325E12 #125E18 #125E3E
triadic
#125E18 #18125E #5E1812
tetradic
#125E18 #12325E #5E1258 #5E3E12
square
#125E18 #12325E #5E1258 #5E3E12
split-complementary
#125E18 #3E125E #5E1232
monochromatic
#051A07 #082B0B #125E18 #1C9125 #26C532
Accessibility & contrast
On white
7.95
#125E18 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#125E18 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125E18
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125E18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125E18 | 1.00 | 7.95 | 2.64 | 7.95 |
| #FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#60540D
Deuteranopia (green-blind)
#584F1F
Tritanopia (blue-blind)
#005B50
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #125e18; /* rgb */ color: rgb(18, 94, 24); /* oklch */ color: oklch(42.2% 0.125 143.9);
Tailwind
colors: {
custom: {
50: '#5f8c59',
500: '#125e18',
950: '#000000',
},
}SCSS
$custom: #125e18; $custom-light: #5f8c59; $custom-dark: #000000;
JSON
{
"hex": "#125e18",
"rgb": {
"r": 18,
"g": 94,
"b": 24
},
"hsl": {
"h": 124.737,
"s": 67.857,
"l": 21.961
},
"oklch": {
"l": 0.42212,
"c": 0.12549,
"h": 143.9
},
"luminance": 0.082
}Semantic roles & 50–950 ramp
primary
#125E18
secondary
#96358F
accent
#3DDDEB
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79