#125D1F#125D1F
#125D1F is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.0% C 0.119 H 145.6°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #125D1F |
|---|---|
| RGB | rgb(18, 93, 31) |
| HSL | hsl(130, 68%, 22%) |
| HSV | hsv(130, 81%, 36%) |
| CMYK | cmyk(80.6%, 0%, 66.7%, 63.5%) |
| CIE-LAB | lab(34.10, -36.26, 28.65) |
| CIE-LCH | lch(34.10, 46.21, 141.69°) |
| OKLab | oklab(41.99% -0.0978 0.0671) |
| OKLCH | oklch(41.99% 0.119 145.6) |
| XYZ | xyz(4.4108, 8.0557, 2.6185) |
| Luminance | 0.0806 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.48
Forest
#0B5509
ΔE00 3.58
Forest Green
#2D5A27
ΔE00 3.76
Darkgreen
#006400
ΔE00 5.14
Pine
#2B5D34
ΔE00 5.17
Spruce
#0A5F38
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125D1F #5D1250
analogous
#2B5D12 #125D1F #125D45
triadic
#125D1F #1F125D #5D1F12
tetradic
#125D1F #122B5D #5D1250 #5D4512
square
#125D1F #122B5D #5D1250 #5D4512
split-complementary
#125D1F #45125D #5D122B
monochromatic
#051A09 #082A0E #125D1F #1C9030 #26C441
Accessibility & contrast
On white
8.04
#125D1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#125D1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125D1F
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125D1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125D1F | 1.00 | 8.04 | 2.61 | 8.04 |
| #FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F5418
Deuteranopia (green-blind)
#564E24
Tritanopia (blue-blind)
#005B50
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #125d1f; /* rgb */ color: rgb(18, 93, 31); /* oklch */ color: oklch(42.0% 0.119 145.6);
Tailwind
colors: {
custom: {
50: '#5e8c5d',
500: '#125d1f',
950: '#000000',
},
}SCSS
$custom: #125d1f; $custom-light: #5e8c5d; $custom-dark: #000000;
JSON
{
"hex": "#125d1f",
"rgb": {
"r": 18,
"g": 93,
"b": 31
},
"hsl": {
"h": 130.4,
"s": 67.568,
"l": 21.765
},
"oklch": {
"l": 0.41988,
"c": 0.11859,
"h": 145.6
},
"luminance": 0.08056
}Semantic roles & 50–950 ramp
primary
#125D1F
secondary
#953585
accent
#3DCCEA
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79