#1D510F#1D510F
#1D510F is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.5% C 0.110 H 140.0°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).
Color values
| HEX | #1D510F |
|---|---|
| RGB | rgb(29, 81, 15) |
| HSL | hsl(107, 69%, 19%) |
| HSV | hsv(107, 81%, 32%) |
| CMYK | cmyk(64.2%, 0%, 81.5%, 68.2%) |
| CIE-LAB | lab(29.86, -30.78, 31.58) |
| CIE-LCH | lch(29.86, 44.10, 134.27°) |
| OKLab | oklab(38.52% -0.0845 0.071) |
| OKLCH | oklch(38.52% 0.11 140) |
| XYZ | xyz(3.5352, 6.1802, 1.4585) |
| Luminance | 0.0618 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 2.37
Bottle Green
#044A05
ΔE00 2.88
Darkgreen (survey)
#054907
ΔE00 3.08
Deep Green
#02590F
ΔE00 3.56
British Racing Green
#05480D
ΔE00 3.64
Forest Green (survey)
#06470C
ΔE00 3.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D510F #430F51
analogous
#3E510F #1D510F #0F5122
triadic
#1D510F #0F1D51 #510F1D
tetradic
#1D510F #0F3E51 #430F51 #51220F
square
#1D510F #0F3E51 #430F51 #51220F
split-complementary
#1D510F #220F51 #510F3E
monochromatic
#091A05 #0B1D05 #1D510F #2F8519 #42B822
Accessibility & contrast
On white
9.39
#1D510F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#1D510F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D510F
9.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D510F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D510F | 1.00 | 9.39 | 2.24 | 9.39 |
| #FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534903
Deuteranopia (green-blind)
#4D4516
Tritanopia (blue-blind)
#164E44
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #1d510f; /* rgb */ color: rgb(29, 81, 15); /* oklch */ color: oklch(38.5% 0.110 140.0);
Tailwind
colors: {
custom: {
50: '#608253',
500: '#1d510f',
950: '#000000',
},
}SCSS
$custom: #1d510f; $custom-light: #608253; $custom-dark: #000000;
JSON
{
"hex": "#1d510f",
"rgb": {
"r": 29,
"g": 81,
"b": 15
},
"hsl": {
"h": 107.273,
"s": 68.75,
"l": 18.824
},
"oklch": {
"l": 0.38519,
"c": 0.1104,
"h": 140
},
"luminance": 0.06181
}Semantic roles & 50–950 ramp
primary
#1D510F
secondary
#78318B
accent
#3CECC6
background
#F5F8F4
surface
#EAEFE7
border
#C6CAC3
text
#050A02
muted
#797C78