#398218#398218
#398218 is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.9% C 0.155 H 138.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #398218 |
|---|---|
| RGB | rgb(57, 130, 24) |
| HSL | hsl(101, 69%, 30%) |
| HSV | hsv(101, 82%, 51%) |
| CMYK | cmyk(56.2%, 0%, 81.5%, 49%) |
| CIE-LAB | lab(48.13, -41.71, 46.34) |
| CIE-LCH | lch(48.13, 62.34, 131.99°) |
| OKLab | oklab(53.91% -0.1153 0.1029) |
| OKLCH | oklch(53.91% 0.155 138.3) |
| XYZ | xyz(9.8345, 16.9003, 3.6078) |
| Luminance | 0.1690 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Dark Grass Green
#388004
ΔE00 1.58
Tree Green
#2A7E19
ΔE00 2.33
Green
#008000
ΔE00 3.62
Forestgreen (CSS)
#228B22
ΔE00 3.94
Emerald Green
#028F1E
ΔE00 5.48
Avocado
#568203
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#398218 #611882
analogous
#6E8218 #398218 #18822C
triadic
#398218 #183982 #821839
tetradic
#398218 #186E82 #611882 #822C18
square
#398218 #186E82 #611882 #822C18
split-complementary
#398218 #2C1882 #82186E
monochromatic
#0C1B05 #224E0E #398218 #50B622 #6CDB3A
Accessibility & contrast
On white
4.79
#398218 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#398218 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #398218
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##398218 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##398218 | 1.00 | 4.79 | 4.38 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#7D7024
Tritanopia (blue-blind)
#337D6E
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #398218; /* rgb */ color: rgb(57, 130, 24); /* oklch */ color: oklch(53.9% 0.155 138.3);
Tailwind
colors: {
custom: {
50: '#78a75f',
500: '#398218',
950: '#000000',
},
}SCSS
$custom: #398218; $custom-light: #78a75f; $custom-dark: #000000;
JSON
{
"hex": "#398218",
"rgb": {
"r": 57,
"g": 130,
"b": 24
},
"hsl": {
"h": 101.321,
"s": 68.831,
"l": 30.196
},
"oklch": {
"l": 0.53909,
"c": 0.15455,
"h": 138.3
},
"luminance": 0.16901
}Semantic roles & 50–950 ramp
primary
#398218
secondary
#9140B6
accent
#3CECB5
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79