#18631F#18631F
#18631F is a dark, vivid green. Relative luminance 0.092; OKLCH L 43.9% C 0.125 H 144.4°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).
Color values
| HEX | #18631F |
|---|---|
| RGB | rgb(24, 99, 31) |
| HSL | hsl(126, 61%, 24%) |
| HSV | hsv(126, 76%, 39%) |
| CMYK | cmyk(75.8%, 0%, 68.7%, 61.2%) |
| CIE-LAB | lab(36.40, -37.44, 31.26) |
| CIE-LCH | lch(36.40, 48.77, 140.14°) |
| OKLab | oklab(43.93% -0.1013 0.0726) |
| OKLCH | oklch(43.93% 0.125 144.4) |
| XYZ | xyz(5.0855, 9.2162, 2.8070) |
| Luminance | 0.0922 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.52
Darkgreen
#006400
ΔE00 3.81
Forest
#0B5509
ΔE00 4.75
Forest Green
#2D5A27
ΔE00 4.77
Pine
#2B5D34
ΔE00 6.12
Spruce
#0A5F38
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18631F #63185C
analogous
#376318 #18631F #186345
triadic
#18631F #1F1863 #631F18
tetradic
#18631F #183763 #63185C #634518
square
#18631F #183763 #63185C #634518
split-complementary
#18631F #451863 #631837
monochromatic
#061908 #0C3210 #18631F #24942E #30C63E
Accessibility & contrast
On white
7.39
#18631F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#18631F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18631F
7.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18631F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18631F | 1.00 | 7.39 | 2.84 | 7.39 |
| #FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#655917
Deuteranopia (green-blind)
#5C5325
Tritanopia (blue-blind)
#006055
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #18631f; /* rgb */ color: rgb(24, 99, 31); /* oklch */ color: oklch(43.9% 0.125 144.4);
Tailwind
colors: {
custom: {
50: '#62905e',
500: '#18631f',
950: '#000000',
},
}SCSS
$custom: #18631f; $custom-light: #62905e; $custom-dark: #000000;
JSON
{
"hex": "#18631f",
"rgb": {
"r": 24,
"g": 99,
"b": 31
},
"hsl": {
"h": 125.6,
"s": 60.976,
"l": 24.118
},
"oklch": {
"l": 0.43931,
"c": 0.12462,
"h": 144.4
},
"luminance": 0.09217
}Semantic roles & 50–950 ramp
primary
#18631F
secondary
#993E91
accent
#44D5E4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060D04
muted
#7A7D79