#18512C#18512C
#18512C is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.8% C 0.086 H 151.6°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).
Color values
| HEX | #18512C |
|---|---|
| RGB | rgb(24, 81, 44) |
| HSL | hsl(141, 54%, 21%) |
| HSV | hsv(141, 70%, 32%) |
| CMYK | cmyk(70.4%, 0%, 45.7%, 68.2%) |
| CIE-LAB | lab(30.06, -27.97, 16.48) |
| CIE-LCH | lch(30.06, 32.46, 149.48°) |
| OKLab | oklab(38.75% -0.0755 0.0408) |
| OKLCH | oklch(38.75% 0.086 151.6) |
| XYZ | xyz(3.7734, 6.2605, 3.3919) |
| Luminance | 0.0626 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine Green
#0A481E
ΔE00 3.40
Evergreen
#05472A
ΔE00 3.99
Pine
#2B5D34
ΔE00 4.31
Spruce
#0A5F38
ΔE00 4.80
Forest Green
#2D5A27
ΔE00 5.40
Hunter Green
#355E3B
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18512C #51183D
analogous
#205118 #18512C #185148
triadic
#18512C #2C1851 #512C18
tetradic
#18512C #182051 #51183D #514818
square
#18512C #182051 #51183D #514818
split-complementary
#18512C #481851 #511820
monochromatic
#07180D #0A2212 #18512C #268046 #34AF5F
Accessibility & contrast
On white
9.32
#18512C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#18512C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18512C
9.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18512C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18512C | 1.00 | 9.32 | 2.25 | 9.32 |
| #FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514A29
Deuteranopia (green-blind)
#4A452E
Tritanopia (blue-blind)
#025048
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #18512c; /* rgb */ color: rgb(24, 81, 44); /* oklch */ color: oklch(38.8% 0.086 151.6);
Tailwind
colors: {
custom: {
50: '#5d8265',
500: '#18512c',
950: '#000000',
},
}SCSS
$custom: #18512c; $custom-light: #5d8265; $custom-dark: #000000;
JSON
{
"hex": "#18512c",
"rgb": {
"r": 24,
"g": 81,
"b": 44
},
"hsl": {
"h": 141.053,
"s": 54.286,
"l": 20.588
},
"oklch": {
"l": 0.38753,
"c": 0.08584,
"h": 151.6
},
"luminance": 0.06261
}Semantic roles & 50–950 ramp
primary
#18512C
secondary
#883D6E
accent
#4AAADE
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040A05
muted
#797C7A