#1A510C#1A510C
#1A510C is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.4% C 0.114 H 140.2°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).
Color values
| HEX | #1A510C |
|---|---|
| RGB | rgb(26, 81, 12) |
| HSL | hsl(108, 74%, 18%) |
| HSV | hsv(108, 85%, 32%) |
| CMYK | cmyk(67.9%, 0%, 85.2%, 68.2%) |
| CIE-LAB | lab(29.74, -31.85, 32.57) |
| CIE-LCH | lch(29.74, 45.56, 134.36°) |
| OKLab | oklab(38.38% -0.0874 0.0727) |
| OKLCH | oklch(38.38% 0.114 140.2) |
| XYZ | xyz(3.4346, 6.1307, 1.3501) |
| Luminance | 0.0613 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 2.00
Bottle Green
#044A05
ΔE00 2.67
Darkgreen (survey)
#054907
ΔE00 2.95
Deep Green
#02590F
ΔE00 3.31
British Racing Green
#05480D
ΔE00 3.62
Racing Green
#014600
ΔE00 3.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A510C #430C51
analogous
#3C510C #1A510C #0C5120
triadic
#1A510C #0C1A51 #510C1A
tetradic
#1A510C #0C3C51 #430C51 #51200C
square
#1A510C #0C3C51 #430C51 #51200C
split-complementary
#1A510C #200C51 #510C3C
monochromatic
#091B04 #091C04 #1A510C #2B8614 #3CBC1C
Accessibility & contrast
On white
9.43
#1A510C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#1A510C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A510C
9.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A510C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A510C | 1.00 | 9.43 | 2.23 | 9.43 |
| #FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534900
Deuteranopia (green-blind)
#4D4414
Tritanopia (blue-blind)
#124E44
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #1a510c; /* rgb */ color: rgb(26, 81, 12); /* oklch */ color: oklch(38.4% 0.114 140.2);
Tailwind
colors: {
custom: {
50: '#5f8251',
500: '#1a510c',
950: '#000000',
},
}SCSS
$custom: #1a510c; $custom-light: #5f8251; $custom-dark: #000000;
JSON
{
"hex": "#1a510c",
"rgb": {
"r": 26,
"g": 81,
"b": 12
},
"hsl": {
"h": 107.826,
"s": 74.194,
"l": 18.235
},
"oklch": {
"l": 0.38382,
"c": 0.11363,
"h": 140.2
},
"luminance": 0.06131
}Semantic roles & 50–950 ramp
primary
#1A510C
secondary
#792C8C
accent
#37F1CB
background
#F5F8F4
surface
#EAEFE7
border
#C6CAC3
text
#050A02
muted
#797C78