#125F1E#125F1E
#125F1E is a dark, vivid green. Relative luminance 0.084; OKLCH L 42.6% C 0.122 H 145.2°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #125F1E |
|---|---|
| RGB | rgb(18, 95, 30) |
| HSL | hsl(129, 68%, 22%) |
| HSV | hsv(129, 81%, 37%) |
| CMYK | cmyk(81.1%, 0%, 68.4%, 62.7%) |
| CIE-LAB | lab(34.81, -37.14, 29.95) |
| CIE-LCH | lch(34.81, 47.71, 141.12°) |
| OKLab | oklab(42.58% -0.1002 0.0697) |
| OKLCH | oklch(42.58% 0.122 145.2) |
| XYZ | xyz(4.5757, 8.4062, 2.6095) |
| Luminance | 0.0841 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.54
Forest
#0B5509
ΔE00 3.78
Forest Green
#2D5A27
ΔE00 4.18
Darkgreen
#006400
ΔE00 4.46
Pine
#2B5D34
ΔE00 5.62
Spruce
#0A5F38
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125F1E #5F1253
analogous
#2C5F12 #125F1E #125F45
triadic
#125F1E #1E125F #5F1E12
tetradic
#125F1E #122C5F #5F1253 #5F4512
square
#125F1E #122C5F #5F1253 #5F4512
split-complementary
#125F1E #45125F #5F122C
monochromatic
#051A08 #082C0E #125F1E #1C922E #25C63E
Accessibility & contrast
On white
7.83
#125F1E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#125F1E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125F1E
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125F1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125F1E | 1.00 | 7.83 | 2.68 | 7.83 |
| #FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#615616
Deuteranopia (green-blind)
#585024
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #125f1e; /* rgb */ color: rgb(18, 95, 30); /* oklch */ color: oklch(42.6% 0.122 145.2);
Tailwind
colors: {
custom: {
50: '#5f8d5d',
500: '#125f1e',
950: '#000000',
},
}SCSS
$custom: #125f1e; $custom-light: #5f8d5d; $custom-dark: #000000;
JSON
{
"hex": "#125f1e",
"rgb": {
"r": 18,
"g": 95,
"b": 30
},
"hsl": {
"h": 129.351,
"s": 68.142,
"l": 22.157
},
"oklch": {
"l": 0.42579,
"c": 0.1221,
"h": 145.2
},
"luminance": 0.08407
}Semantic roles & 50–950 ramp
primary
#125F1E
secondary
#973688
accent
#3DD0EB
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79