#18751C#18751C
#18751C is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.2% C 0.149 H 143.4°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #18751C |
|---|---|
| RGB | rgb(24, 117, 28) |
| HSL | hsl(123, 66%, 28%) |
| HSV | hsv(123, 79%, 46%) |
| CMYK | cmyk(79.5%, 0%, 76.1%, 54.1%) |
| CIE-LAB | lab(42.76, -44.23, 39.33) |
| CIE-LCH | lch(42.76, 59.19, 138.36°) |
| OKLab | oklab(49.21% -0.1199 0.0892) |
| OKLCH | oklch(49.21% 0.149 143.4) |
| XYZ | xyz(6.9471, 12.9998, 3.2415) |
| Luminance | 0.1300 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.77
Darkish Green
#287C37
ΔE00 4.40
Green
#008000
ΔE00 4.71
Darkgreen
#006400
ΔE00 5.84
Dark Grass Green
#388004
ΔE00 6.24
Jungle Green
#048243
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18751C #751871
analogous
#427518 #18751C #18754B
triadic
#18751C #1C1875 #751C18
tetradic
#18751C #184275 #751871 #754B18
square
#18751C #184275 #751871 #754B18
split-complementary
#18751C #4B1875 #751842
monochromatic
#051906 #0E4210 #18751C #22A828 #32D539
Accessibility & contrast
On white
5.83
#18751C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#18751C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #18751C
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18751C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18751C | 1.00 | 5.83 | 3.60 | 5.83 |
| #FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#78690C
Deuteranopia (green-blind)
#6D6225
Tritanopia (blue-blind)
#007164
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #18751c; /* rgb */ color: rgb(24, 117, 28); /* oklch */ color: oklch(49.2% 0.149 143.4);
Tailwind
colors: {
custom: {
50: '#679e5e',
500: '#18751c',
950: '#000000',
},
}SCSS
$custom: #18751c; $custom-light: #679e5e; $custom-dark: #000000;
JSON
{
"hex": "#18751c",
"rgb": {
"r": 24,
"g": 117,
"b": 28
},
"hsl": {
"h": 122.581,
"s": 65.957,
"l": 27.647
},
"oklch": {
"l": 0.49207,
"c": 0.14941,
"h": 143.4
},
"luminance": 0.13001
}Semantic roles & 50–950 ramp
primary
#18751C
secondary
#AA3FA6
accent
#3FE2E9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E05
muted
#7A7E79