#18510C#18510C
#18510C is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.3% C 0.115 H 140.7°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).
Color values
| HEX | #18510C |
|---|---|
| RGB | rgb(24, 81, 12) |
| HSL | hsl(110, 74%, 18%) |
| HSV | hsv(110, 85%, 32%) |
| CMYK | cmyk(70.4%, 0%, 85.2%, 68.2%) |
| CIE-LAB | lab(29.68, -32.37, 32.49) |
| CIE-LCH | lch(29.68, 45.86, 134.90°) |
| OKLab | oklab(38.31% -0.0886 0.0725) |
| OKLCH | oklch(38.31% 0.115 140.7) |
| XYZ | xyz(3.3853, 6.1053, 1.3478) |
| Luminance | 0.0611 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 1.84
Bottle Green
#044A05
ΔE00 2.53
Darkgreen (survey)
#054907
ΔE00 2.82
Deep Green
#02590F
ΔE00 3.16
British Racing Green
#05480D
ΔE00 3.50
Racing Green
#014600
ΔE00 3.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18510C #450C51
analogous
#3A510C #18510C #0C5122
triadic
#18510C #0C1851 #510C18
tetradic
#18510C #0C3A51 #450C51 #51220C
square
#18510C #0C3A51 #450C51 #51220C
split-complementary
#18510C #220C51 #510C3A
monochromatic
#081B04 #081C04 #18510C #288614 #38BC1C
Accessibility & contrast
On white
9.45
#18510C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#18510C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18510C
9.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18510C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18510C | 1.00 | 9.45 | 2.22 | 9.45 |
| #FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534900
Deuteranopia (green-blind)
#4D4414
Tritanopia (blue-blind)
#0E4E44
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #18510c; /* rgb */ color: rgb(24, 81, 12); /* oklch */ color: oklch(38.3% 0.115 140.7);
Tailwind
colors: {
custom: {
50: '#5e8251',
500: '#18510c',
950: '#000000',
},
}SCSS
$custom: #18510c; $custom-light: #5e8251; $custom-dark: #000000;
JSON
{
"hex": "#18510c",
"rgb": {
"r": 24,
"g": 81,
"b": 12
},
"hsl": {
"h": 109.565,
"s": 74.194,
"l": 18.235
},
"oklch": {
"l": 0.38312,
"c": 0.11451,
"h": 140.7
},
"luminance": 0.06106
}Semantic roles & 50–950 ramp
primary
#18510C
secondary
#7C2C8C
accent
#37F1D1
background
#F5F8F4
surface
#EAEFE7
border
#C6CAC3
text
#050A02
muted
#797C78