#125C1A#125C1A
#125C1A is a dark, vivid green. Relative luminance 0.079; OKLCH L 41.6% C 0.121 H 144.4°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #125C1A |
|---|---|
| RGB | rgb(18, 92, 26) |
| HSL | hsl(126, 67%, 22%) |
| HSV | hsv(126, 80%, 36%) |
| CMYK | cmyk(80.4%, 0%, 71.7%, 63.9%) |
| CIE-LAB | lab(33.68, -36.51, 30.62) |
| CIE-LCH | lch(33.68, 47.65, 140.01°) |
| OKLab | oklab(41.63% -0.0987 0.0707) |
| OKLCH | oklch(41.63% 0.121 144.4) |
| XYZ | xyz(4.2628, 7.8570, 2.2690) |
| Luminance | 0.0786 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 1.69
Forest
#0B5509
ΔE00 2.78
Forest Green
#2D5A27
ΔE00 4.00
Darkgreen
#006400
ΔE00 4.58
Bottle Green
#044A05
ΔE00 5.69
Pine
#2B5D34
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125C1A #5C1254
analogous
#2F5C12 #125C1A #125C3F
triadic
#125C1A #1A125C #5C1A12
tetradic
#125C1A #122F5C #5C1254 #5C3F12
square
#125C1A #122F5C #5C1254 #5C3F12
split-complementary
#125C1A #3F125C #5C122F
monochromatic
#051A07 #08290C #125C1A #1C8F28 #26C237
Accessibility & contrast
On white
8.17
#125C1A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#125C1A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125C1A
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125C1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125C1A | 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)
#5E5311
Deuteranopia (green-blind)
#564D20
Tritanopia (blue-blind)
#00594E
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #125c1a; /* rgb */ color: rgb(18, 92, 26); /* oklch */ color: oklch(41.6% 0.121 144.4);
Tailwind
colors: {
custom: {
50: '#5e8b5a',
500: '#125c1a',
950: '#000000',
},
}SCSS
$custom: #125c1a; $custom-light: #5e8b5a; $custom-dark: #000000;
JSON
{
"hex": "#125c1a",
"rgb": {
"r": 18,
"g": 92,
"b": 26
},
"hsl": {
"h": 126.486,
"s": 67.273,
"l": 21.569
},
"oklch": {
"l": 0.41627,
"c": 0.1214,
"h": 144.4
},
"luminance": 0.07857
}Semantic roles & 50–950 ramp
primary
#125C1A
secondary
#94358A
accent
#3ED8EA
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79