#18741C#18741C
#18741C is a mid, vivid green. Relative luminance 0.128; OKLCH L 48.9% C 0.148 H 143.4°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #18741C |
|---|---|
| RGB | rgb(24, 116, 28) |
| HSL | hsl(123, 66%, 27%) |
| HSV | hsv(123, 79%, 45%) |
| CMYK | cmyk(79.3%, 0%, 75.9%, 54.5%) |
| CIE-LAB | lab(42.41, -43.89, 38.97) |
| CIE-LCH | lch(42.41, 58.69, 138.40°) |
| OKLab | oklab(48.92% -0.1189 0.0884) |
| OKLCH | oklch(48.92% 0.148 143.4) |
| XYZ | xyz(6.8312, 12.7680, 3.2028) |
| Luminance | 0.1277 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.09
Darkish Green
#287C37
ΔE00 4.54
Green
#008000
ΔE00 5.03
Darkgreen
#006400
ΔE00 5.54
Dark Grass Green
#388004
ΔE00 6.51
Jungle Green
#048243
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18741C #741870
analogous
#427418 #18741C #18744A
triadic
#18741C #1C1874 #741C18
tetradic
#18741C #184274 #741870 #744A18
square
#18741C #184274 #741870 #744A18
split-complementary
#18741C #4A1874 #741842
monochromatic
#051906 #0E4110 #18741C #22A728 #32D539
Accessibility & contrast
On white
5.91
#18741C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#18741C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #18741C
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18741C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18741C | 1.00 | 5.91 | 3.55 | 5.91 |
| #FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#77680C
Deuteranopia (green-blind)
#6C6125
Tritanopia (blue-blind)
#007063
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #18741c; /* rgb */ color: rgb(24, 116, 28); /* oklch */ color: oklch(48.9% 0.148 143.4);
Tailwind
colors: {
custom: {
50: '#679d5e',
500: '#18741c',
950: '#000000',
},
}SCSS
$custom: #18741c; $custom-light: #679d5e; $custom-dark: #000000;
JSON
{
"hex": "#18741c",
"rgb": {
"r": 24,
"g": 116,
"b": 28
},
"hsl": {
"h": 122.609,
"s": 65.714,
"l": 27.451
},
"oklch": {
"l": 0.48915,
"c": 0.14822,
"h": 143.4
},
"luminance": 0.12769
}Semantic roles & 50–950 ramp
primary
#18741C
secondary
#A93FA5
accent
#3FE1E9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E05
muted
#7A7E79