#125C18#125C18
#125C18 is a dark, vivid green. Relative luminance 0.078; OKLCH L 41.6% C 0.123 H 144.0°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #125C18 |
|---|---|
| RGB | rgb(18, 92, 24) |
| HSL | hsl(125, 67%, 22%) |
| HSV | hsv(125, 80%, 36%) |
| CMYK | cmyk(80.4%, 0%, 73.9%, 63.9%) |
| CIE-LAB | lab(33.66, -36.73, 31.53) |
| CIE-LCH | lch(33.66, 48.40, 139.36°) |
| OKLab | oklab(41.61% -0.0994 0.0723) |
| OKLCH | oklch(41.61% 0.123 144) |
| XYZ | xyz(4.2412, 7.8483, 2.1553) |
| Luminance | 0.0785 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 1.47
Forest
#0B5509
ΔE00 2.58
Forest Green
#2D5A27
ΔE00 4.18
Darkgreen
#006400
ΔE00 4.29
Bottle Green
#044A05
ΔE00 5.63
Darkgreen (survey)
#054907
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125C18 #5C1256
analogous
#315C12 #125C18 #125C3D
triadic
#125C18 #18125C #5C1812
tetradic
#125C18 #12315C #5C1256 #5C3D12
square
#125C18 #12315C #5C1256 #5C3D12
split-complementary
#125C18 #3D125C #5C1231
monochromatic
#051A07 #08290B #125C18 #1C8F25 #26C233
Accessibility & contrast
On white
8.17
#125C18 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#125C18 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125C18
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125C18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125C18 | 1.00 | 8.17 | 2.57 | 8.17 |
| #FFFFFF | 8.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E530E
Deuteranopia (green-blind)
#564D1F
Tritanopia (blue-blind)
#00594E
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #125c18; /* rgb */ color: rgb(18, 92, 24); /* oklch */ color: oklch(41.6% 0.123 144.0);
Tailwind
colors: {
custom: {
50: '#5e8b59',
500: '#125c18',
950: '#000000',
},
}SCSS
$custom: #125c18; $custom-light: #5e8b59; $custom-dark: #000000;
JSON
{
"hex": "#125c18",
"rgb": {
"r": 18,
"g": 92,
"b": 24
},
"hsl": {
"h": 124.865,
"s": 67.273,
"l": 21.569
},
"oklch": {
"l": 0.41606,
"c": 0.12293,
"h": 144
},
"luminance": 0.07849
}Semantic roles & 50–950 ramp
primary
#125C18
secondary
#94358D
accent
#3EDCEA
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79