#125F1D#125F1D
#125F1D is a dark, vivid green. Relative luminance 0.084; OKLCH L 42.6% C 0.123 H 144.9°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #125F1D |
|---|---|
| RGB | rgb(18, 95, 29) |
| HSL | hsl(129, 68%, 22%) |
| HSV | hsv(129, 81%, 37%) |
| CMYK | cmyk(81.1%, 0%, 69.5%, 62.7%) |
| CIE-LAB | lab(34.80, -37.26, 30.42) |
| CIE-LCH | lch(34.80, 48.11, 140.77°) |
| OKLab | oklab(42.57% -0.1006 0.0706) |
| OKLCH | oklch(42.57% 0.123 144.9) |
| XYZ | xyz(4.5631, 8.4012, 2.5433) |
| Luminance | 0.0840 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.43
Forest
#0B5509
ΔE00 3.68
Forest Green
#2D5A27
ΔE00 4.25
Darkgreen
#006400
ΔE00 4.28
Pine
#2B5D34
ΔE00 5.78
Spruce
#0A5F38
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125F1D #5F1254
analogous
#2E5F12 #125F1D #125F43
triadic
#125F1D #1D125F #5F1D12
tetradic
#125F1D #122E5F #5F1254 #5F4312
square
#125F1D #122E5F #5F1254 #5F4312
split-complementary
#125F1D #43125F #5F122E
monochromatic
#051A08 #082C0D #125F1D #1C922D #25C63C
Accessibility & contrast
On white
7.83
#125F1D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#125F1D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125F1D
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125F1D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125F1D | 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)
#615515
Deuteranopia (green-blind)
#585023
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #125f1d; /* rgb */ color: rgb(18, 95, 29); /* oklch */ color: oklch(42.6% 0.123 144.9);
Tailwind
colors: {
custom: {
50: '#5f8d5c',
500: '#125f1d',
950: '#000000',
},
}SCSS
$custom: #125f1d; $custom-light: #5f8d5c; $custom-dark: #000000;
JSON
{
"hex": "#125f1d",
"rgb": {
"r": 18,
"g": 95,
"b": 29
},
"hsl": {
"h": 128.571,
"s": 68.142,
"l": 22.157
},
"oklch": {
"l": 0.42567,
"c": 0.12292,
"h": 144.9
},
"luminance": 0.08402
}Semantic roles & 50–950 ramp
primary
#125F1D
secondary
#973689
accent
#3DD2EB
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79