#398118#398118
#398118 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.6% C 0.153 H 138.2°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #398118 |
|---|---|
| RGB | rgb(57, 129, 24) |
| HSL | hsl(101, 69%, 30%) |
| HSV | hsv(101, 81%, 51%) |
| CMYK | cmyk(55.8%, 0%, 81.4%, 49.4%) |
| CIE-LAB | lab(47.80, -41.31, 46.02) |
| CIE-LCH | lch(47.80, 61.84, 131.92°) |
| OKLab | oklab(53.63% -0.1143 0.1022) |
| OKLCH | oklch(53.63% 0.153 138.2) |
| XYZ | xyz(9.7021, 16.6355, 3.5637) |
| Luminance | 0.1664 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Dark Grass Green
#388004
ΔE00 1.50
Tree Green
#2A7E19
ΔE00 2.11
Green
#008000
ΔE00 3.57
Forestgreen (CSS)
#228B22
ΔE00 4.21
Avocado
#568203
ΔE00 5.55
Emerald Green
#028F1E
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#398118 #601881
analogous
#6D8118 #398118 #18812C
triadic
#398118 #183981 #811839
tetradic
#398118 #186D81 #601881 #812C18
square
#398118 #186D81 #601881 #812C18
split-complementary
#398118 #2C1881 #81186D
monochromatic
#0B1A05 #224D0E #398118 #50B522 #6CDA39
Accessibility & contrast
On white
4.85
#398118 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#398118 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #398118
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##398118 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##398118 | 1.00 | 4.85 | 4.33 | 4.85 |
| #FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7C6F24
Tritanopia (blue-blind)
#337C6E
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #398118; /* rgb */ color: rgb(57, 129, 24); /* oklch */ color: oklch(53.6% 0.153 138.2);
Tailwind
colors: {
custom: {
50: '#78a65e',
500: '#398118',
950: '#000000',
},
}SCSS
$custom: #398118; $custom-light: #78a65e; $custom-dark: #000000;
JSON
{
"hex": "#398118",
"rgb": {
"r": 57,
"g": 129,
"b": 24
},
"hsl": {
"h": 101.143,
"s": 68.627,
"l": 30
},
"oklch": {
"l": 0.53631,
"c": 0.15332,
"h": 138.2
},
"luminance": 0.16636
}Semantic roles & 50–950 ramp
primary
#398118
secondary
#9040B5
accent
#3CEBB4
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79