#125C1D#125C1D
#125C1D is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.7% C 0.119 H 145.1°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #125C1D |
|---|---|
| RGB | rgb(18, 92, 29) |
| HSL | hsl(129, 67%, 22%) |
| HSV | hsv(129, 80%, 36%) |
| CMYK | cmyk(80.4%, 0%, 68.5%, 63.9%) |
| CIE-LAB | lab(33.71, -36.15, 29.21) |
| CIE-LCH | lch(33.71, 46.47, 141.06°) |
| OKLab | oklab(41.66% -0.0976 0.0681) |
| OKLCH | oklch(41.66% 0.119 145.1) |
| XYZ | xyz(4.2981, 7.8711, 2.4549) |
| Luminance | 0.0787 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.12
Forest
#0B5509
ΔE00 3.17
Forest Green
#2D5A27
ΔE00 3.75
Darkgreen
#006400
ΔE00 5.06
Pine
#2B5D34
ΔE00 5.38
Bottle Green
#044A05
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#125C1D #5C1251
analogous
#2C5C12 #125C1D #125C42
triadic
#125C1D #1D125C #5C1D12
tetradic
#125C1D #122C5C #5C1251 #5C4212
square
#125C1D #122C5C #5C1251 #5C4212
split-complementary
#125C1D #42125C #5C122C
monochromatic
#051A08 #08290D #125C1D #1C8F2D #26C23D
Accessibility & contrast
On white
8.16
#125C1D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#125C1D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #125C1D
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##125C1D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##125C1D | 1.00 | 8.16 | 2.57 | 8.16 |
| #FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E5315
Deuteranopia (green-blind)
#554D23
Tritanopia (blue-blind)
#00594F
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #125c1d; /* rgb */ color: rgb(18, 92, 29); /* oklch */ color: oklch(41.7% 0.119 145.1);
Tailwind
colors: {
custom: {
50: '#5e8b5c',
500: '#125c1d',
950: '#000000',
},
}SCSS
$custom: #125c1d; $custom-light: #5e8b5c; $custom-dark: #000000;
JSON
{
"hex": "#125c1d",
"rgb": {
"r": 18,
"g": 92,
"b": 29
},
"hsl": {
"h": 128.919,
"s": 67.273,
"l": 21.569
},
"oklch": {
"l": 0.41661,
"c": 0.11895,
"h": 145.1
},
"luminance": 0.07872
}Semantic roles & 50–950 ramp
primary
#125C1D
secondary
#943586
accent
#3ED1EA
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79