#1D510C#1D510C
#1D510C is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.5% C 0.112 H 139.5°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).
Color values
| HEX | #1D510C |
|---|---|
| RGB | rgb(29, 81, 12) |
| HSL | hsl(105, 74%, 18%) |
| HSV | hsv(105, 85%, 32%) |
| CMYK | cmyk(64.2%, 0%, 85.2%, 68.2%) |
| CIE-LAB | lab(29.84, -31.01, 32.71) |
| CIE-LCH | lch(29.84, 45.07, 133.48°) |
| OKLab | oklab(38.5% -0.0853 0.0729) |
| OKLCH | oklch(38.5% 0.112 139.5) |
| XYZ | xyz(3.5153, 6.1723, 1.3539) |
| Luminance | 0.0617 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 2.30
Bottle Green
#044A05
ΔE00 2.93
Darkgreen (survey)
#054907
ΔE00 3.19
Deep Green
#02590F
ΔE00 3.59
British Racing Green
#05480D
ΔE00 3.86
Racing Green
#014600
ΔE00 3.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D510C #400C51
analogous
#3F510C #1D510C #0C511D
triadic
#1D510C #0C1D51 #510C1D
tetradic
#1D510C #0C3F51 #400C51 #511D0C
square
#1D510C #0C3F51 #400C51 #511D0C
split-complementary
#1D510C #1D0C51 #510C3F
monochromatic
#0A1B04 #0A1C04 #1D510C #308614 #43BC1C
Accessibility & contrast
On white
9.40
#1D510C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#1D510C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D510C
9.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D510C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D510C | 1.00 | 9.40 | 2.23 | 9.40 |
| #FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544900
Deuteranopia (green-blind)
#4D4514
Tritanopia (blue-blind)
#174E44
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #1d510c; /* rgb */ color: rgb(29, 81, 12); /* oklch */ color: oklch(38.5% 0.112 139.5);
Tailwind
colors: {
custom: {
50: '#618251',
500: '#1d510c',
950: '#000000',
},
}SCSS
$custom: #1d510c; $custom-light: #618251; $custom-dark: #000000;
JSON
{
"hex": "#1d510c",
"rgb": {
"r": 29,
"g": 81,
"b": 12
},
"hsl": {
"h": 105.217,
"s": 74.194,
"l": 18.235
},
"oklch": {
"l": 0.38497,
"c": 0.11223,
"h": 139.5
},
"luminance": 0.06173
}Semantic roles & 50–950 ramp
primary
#1D510C
secondary
#752C8C
accent
#37F1C3
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#050A02
muted
#7A7C78