#125B1E#125B1E
#125B1E is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.4% C 0.117 H 145.4°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #125B1E |
|---|---|
| RGB | rgb(18, 91, 30) |
| HSL | hsl(130, 67%, 21%) |
| HSV | hsv(130, 80%, 36%) |
| CMYK | cmyk(80.2%, 0%, 67%, 64.3%) |
| CIE-LAB | lab(33.36, -35.64, 28.31) |
| CIE-LCH | lch(33.36, 45.52, 141.53°) |
| OKLab | oklab(41.37% -0.0961 0.0663) |
| OKLCH | oklch(41.37% 0.117 145.4) |
| XYZ | xyz(4.2246, 7.7040, 2.4924) |
| Luminance | 0.0770 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.31
Forest
#0B5509
ΔE00 3.22
Forest Green
#2D5A27
ΔE00 3.57
Pine
#2B5D34
ΔE00 5.11
Darkgreen
#006400
ΔE00 5.51
Bottle Green
#044A05
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125B1E #5B124F
analogous
#2B5B12 #125B1E #125B43
triadic
#125B1E #1E125B #5B1E12
tetradic
#125B1E #122B5B #5B124F #5B4312
square
#125B1E #122B5B #5B124F #5B4312
split-complementary
#125B1E #43125B #5B122B
monochromatic
#051A08 #08280D #125B1E #1C8E2F #26C140
Accessibility & contrast
On white
8.26
#125B1E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#125B1E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125B1E
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125B1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125B1E | 1.00 | 8.26 | 2.54 | 8.26 |
| #FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D5217
Deuteranopia (green-blind)
#544C23
Tritanopia (blue-blind)
#00594E
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #125b1e; /* rgb */ color: rgb(18, 91, 30); /* oklch */ color: oklch(41.4% 0.117 145.4);
Tailwind
colors: {
custom: {
50: '#5e8a5c',
500: '#125b1e',
950: '#000000',
},
}SCSS
$custom: #125b1e; $custom-light: #5e8a5c; $custom-dark: #000000;
JSON
{
"hex": "#125b1e",
"rgb": {
"r": 18,
"g": 91,
"b": 30
},
"hsl": {
"h": 129.863,
"s": 66.972,
"l": 21.373
},
"oklch": {
"l": 0.4137,
"c": 0.11676,
"h": 145.4
},
"luminance": 0.07705
}Semantic roles & 50–950 ramp
primary
#125B1E
secondary
#933584
accent
#3ECEEA
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79