#378318#378318
#378318 is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.1% C 0.157 H 138.7°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #378318 |
|---|---|
| RGB | rgb(55, 131, 24) |
| HSL | hsl(103, 69%, 30%) |
| HSV | hsv(103, 82%, 51%) |
| CMYK | cmyk(58%, 0%, 81.7%, 48.6%) |
| CIE-LAB | lab(48.40, -42.67, 46.56) |
| CIE-LCH | lch(48.40, 63.16, 132.50°) |
| OKLab | oklab(54.11% -0.1178 0.1034) |
| OKLCH | oklch(54.11% 0.157 138.7) |
| XYZ | xyz(9.8563, 17.1099, 3.6471) |
| Luminance | 0.1711 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Dark Grass Green
#388004
ΔE00 1.81
Tree Green
#2A7E19
ΔE00 2.41
Green
#008000
ΔE00 3.50
Forestgreen (CSS)
#228B22
ΔE00 3.53
Emerald Green
#028F1E
ΔE00 5.06
Avocado
#568203
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#378318 #641883
analogous
#6C8318 #378318 #18832F
triadic
#378318 #183783 #831837
tetradic
#378318 #186C83 #641883 #832F18
square
#378318 #186C83 #641883 #832F18
split-complementary
#378318 #2F1883 #83186C
monochromatic
#0C1C05 #214F0F #378318 #4DB721 #69DB3A
Accessibility & contrast
On white
4.75
#378318 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#378318 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #378318
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##378318 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##378318 | 1.00 | 4.75 | 4.42 | 4.75 |
| #FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#7E7125
Tritanopia (blue-blind)
#2F7E6F
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #378318; /* rgb */ color: rgb(55, 131, 24); /* oklch */ color: oklch(54.1% 0.157 138.7);
Tailwind
colors: {
custom: {
50: '#77a85f',
500: '#378318',
950: '#000000',
},
}SCSS
$custom: #378318; $custom-light: #77a85f; $custom-dark: #000000;
JSON
{
"hex": "#378318",
"rgb": {
"r": 55,
"g": 131,
"b": 24
},
"hsl": {
"h": 102.617,
"s": 69.032,
"l": 30.392
},
"oklch": {
"l": 0.54106,
"c": 0.15672,
"h": 138.7
},
"luminance": 0.17111
}Semantic roles & 50–950 ramp
primary
#378318
secondary
#9440B7
accent
#3CECB9
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79