#125B1F#125B1F
#125B1F is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.4% C 0.116 H 145.7°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #125B1F |
|---|---|
| RGB | rgb(18, 91, 31) |
| HSL | hsl(131, 67%, 21%) |
| HSV | hsv(131, 80%, 36%) |
| CMYK | cmyk(80.2%, 0%, 65.9%, 64.3%) |
| CIE-LAB | lab(33.37, -35.51, 27.82) |
| CIE-LCH | lch(33.37, 45.11, 141.92°) |
| OKLab | oklab(41.38% -0.0957 0.0653) |
| OKLCH | oklch(41.38% 0.116 145.7) |
| XYZ | xyz(4.2376, 7.7092, 2.5608) |
| Luminance | 0.0771 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.50
Forest
#0B5509
ΔE00 3.39
Forest Green
#2D5A27
ΔE00 3.51
Pine
#2B5D34
ΔE00 4.95
Darkgreen
#006400
ΔE00 5.68
Bottle Green
#044A05
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125B1F #5B124E
analogous
#2A5B12 #125B1F #125B44
triadic
#125B1F #1F125B #5B1F12
tetradic
#125B1F #122A5B #5B124E #5B4412
square
#125B1F #122A5B #5B124E #5B4412
split-complementary
#125B1F #44125B #5B122A
monochromatic
#051A09 #08280E #125B1F #1C8E30 #26C142
Accessibility & contrast
On white
8.26
#125B1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#125B1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125B1F
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125B1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125B1F | 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)
#5C5218
Deuteranopia (green-blind)
#544C24
Tritanopia (blue-blind)
#00594E
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #125b1f; /* rgb */ color: rgb(18, 91, 31); /* oklch */ color: oklch(41.4% 0.116 145.7);
Tailwind
colors: {
custom: {
50: '#5e8a5d',
500: '#125b1f',
950: '#000000',
},
}SCSS
$custom: #125b1f; $custom-light: #5e8a5d; $custom-dark: #000000;
JSON
{
"hex": "#125b1f",
"rgb": {
"r": 18,
"g": 91,
"b": 31
},
"hsl": {
"h": 130.685,
"s": 66.972,
"l": 21.373
},
"oklch": {
"l": 0.41383,
"c": 0.11589,
"h": 145.7
},
"luminance": 0.0771
}Semantic roles & 50–950 ramp
primary
#125B1F
secondary
#933583
accent
#3ECBEA
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79