#125F18#125F18
#125F18 is a dark, vivid green. Relative luminance 0.084; OKLCH L 42.5% C 0.127 H 143.9°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #125F18 |
|---|---|
| RGB | rgb(18, 95, 24) |
| HSL | hsl(125, 68%, 22%) |
| HSV | hsv(125, 81%, 37%) |
| CMYK | cmyk(81.1%, 0%, 74.7%, 62.7%) |
| CIE-LAB | lab(34.76, -37.82, 32.68) |
| CIE-LCH | lch(34.76, 49.99, 139.17°) |
| OKLab | oklab(42.51% -0.1024 0.0748) |
| OKLCH | oklch(42.51% 0.127 143.9) |
| XYZ | xyz(4.5062, 8.3784, 2.2437) |
| Luminance | 0.0838 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.08
Forest
#0B5509
ΔE00 3.31
Darkgreen
#006400
ΔE00 3.49
Forest Green
#2D5A27
ΔE00 4.68
Pine
#2B5D34
ΔE00 6.53
Bottle Green
#044A05
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125F18 #5F1259
analogous
#335F12 #125F18 #125F3F
triadic
#125F18 #18125F #5F1812
tetradic
#125F18 #12335F #5F1259 #5F3F12
square
#125F18 #12335F #5F1259 #5F3F12
split-complementary
#125F18 #3F125F #5F1233
monochromatic
#051A06 #082C0B #125F18 #1C9225 #25C632
Accessibility & contrast
On white
7.85
#125F18 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#125F18 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125F18
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125F18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125F18 | 1.00 | 7.85 | 2.68 | 7.85 |
| #FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#61550D
Deuteranopia (green-blind)
#584F1F
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #125f18; /* rgb */ color: rgb(18, 95, 24); /* oklch */ color: oklch(42.5% 0.127 143.9);
Tailwind
colors: {
custom: {
50: '#5f8d59',
500: '#125f18',
950: '#000000',
},
}SCSS
$custom: #125f18; $custom-light: #5f8d59; $custom-dark: #000000;
JSON
{
"hex": "#125f18",
"rgb": {
"r": 18,
"g": 95,
"b": 24
},
"hsl": {
"h": 124.675,
"s": 68.142,
"l": 22.157
},
"oklch": {
"l": 0.42514,
"c": 0.12675,
"h": 143.9
},
"luminance": 0.08379
}Semantic roles & 50–950 ramp
primary
#125F18
secondary
#973690
accent
#3DDDEB
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79