#18731C#18731C
#18731C is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.6% C 0.147 H 143.4°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #18731C |
|---|---|
| RGB | rgb(24, 115, 28) |
| HSL | hsl(123, 65%, 27%) |
| HSV | hsv(123, 79%, 45%) |
| CMYK | cmyk(79.1%, 0%, 75.7%, 54.9%) |
| CIE-LAB | lab(42.06, -43.54, 38.61) |
| CIE-LCH | lch(42.06, 58.20, 138.43°) |
| OKLab | oklab(48.62% -0.118 0.0877) |
| OKLCH | oklch(48.62% 0.147 143.4) |
| XYZ | xyz(6.7166, 12.5387, 3.1646) |
| Luminance | 0.1254 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.42
Darkish Green
#287C37
ΔE00 4.69
Darkgreen
#006400
ΔE00 5.25
Green
#008000
ΔE00 5.35
Dark Grass Green
#388004
ΔE00 6.79
Jungle Green
#048243
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18731C #73186F
analogous
#427318 #18731C #187349
triadic
#18731C #1C1873 #731C18
tetradic
#18731C #184273 #73186F #734918
square
#18731C #184273 #73186F #734918
split-complementary
#18731C #491873 #731842
monochromatic
#051906 #0D4010 #18731C #23A628 #31D438
Accessibility & contrast
On white
5.99
#18731C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#18731C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #18731C
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18731C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18731C | 1.00 | 5.99 | 3.51 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#75670D
Deuteranopia (green-blind)
#6B6125
Tritanopia (blue-blind)
#007062
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #18731c; /* rgb */ color: rgb(24, 115, 28); /* oklch */ color: oklch(48.6% 0.147 143.4);
Tailwind
colors: {
custom: {
50: '#669c5e',
500: '#18731c',
950: '#000000',
},
}SCSS
$custom: #18731c; $custom-light: #669c5e; $custom-dark: #000000;
JSON
{
"hex": "#18731c",
"rgb": {
"r": 24,
"g": 115,
"b": 28
},
"hsl": {
"h": 122.637,
"s": 65.468,
"l": 27.255
},
"oklch": {
"l": 0.48622,
"c": 0.147,
"h": 143.4
},
"luminance": 0.12539
}Semantic roles & 50–950 ramp
primary
#18731C
secondary
#A83FA4
accent
#3FE1E8
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E05
muted
#7A7E79