#125E1B#125E1B
#125E1B is a dark, vivid green. Relative luminance 0.082; OKLCH L 42.2% C 0.123 H 144.5°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #125E1B |
|---|---|
| RGB | rgb(18, 94, 27) |
| HSL | hsl(127, 68%, 22%) |
| HSV | hsv(127, 81%, 37%) |
| CMYK | cmyk(80.9%, 0%, 71.3%, 63.1%) |
| CIE-LAB | lab(34.42, -37.13, 30.96) |
| CIE-LCH | lch(34.42, 48.34, 140.18°) |
| OKLab | oklab(42.24% -0.1003 0.0715) |
| OKLCH | oklch(42.24% 0.123 144.5) |
| XYZ | xyz(4.4497, 8.2126, 2.3874) |
| Luminance | 0.0821 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.06
Forest
#0B5509
ΔE00 3.27
Darkgreen
#006400
ΔE00 4.20
Forest Green
#2D5A27
ΔE00 4.23
Pine
#2B5D34
ΔE00 5.94
Bottle Green
#044A05
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125E1B #5E1255
analogous
#2F5E12 #125E1B #125E41
triadic
#125E1B #1B125E #5E1B12
tetradic
#125E1B #122F5E #5E1255 #5E4112
square
#125E1B #122F5E #5E1255 #5E4112
split-complementary
#125E1B #41125E #5E122F
monochromatic
#051A07 #082B0C #125E1B #1C912A #26C539
Accessibility & contrast
On white
7.95
#125E1B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#125E1B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125E1B
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125E1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125E1B | 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)
#605512
Deuteranopia (green-blind)
#574F21
Tritanopia (blue-blind)
#005B50
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #125e1b; /* rgb */ color: rgb(18, 94, 27); /* oklch */ color: oklch(42.2% 0.123 144.5);
Tailwind
colors: {
custom: {
50: '#5f8c5b',
500: '#125e1b',
950: '#000000',
},
}SCSS
$custom: #125e1b; $custom-light: #5f8c5b; $custom-dark: #000000;
JSON
{
"hex": "#125e1b",
"rgb": {
"r": 18,
"g": 94,
"b": 27
},
"hsl": {
"h": 127.105,
"s": 67.857,
"l": 21.961
},
"oklch": {
"l": 0.42243,
"c": 0.12321,
"h": 144.5
},
"luminance": 0.08213
}Semantic roles & 50–950 ramp
primary
#125E1B
secondary
#96358B
accent
#3DD6EB
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79