#398319#398319
#398319 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.2% C 0.155 H 138.4°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #398319 |
|---|---|
| RGB | rgb(57, 131, 25) |
| HSL | hsl(102, 68%, 31%) |
| HSV | hsv(102, 81%, 51%) |
| CMYK | cmyk(56.5%, 0%, 80.9%, 48.6%) |
| CIE-LAB | lab(48.48, -42.04, 46.34) |
| CIE-LCH | lch(48.48, 62.56, 132.22°) |
| OKLab | oklab(54.19% -0.1161 0.1031) |
| OKLCH | oklch(54.19% 0.155 138.4) |
| XYZ | xyz(9.9787, 17.1718, 3.7082) |
| Luminance | 0.1717 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Dark Grass Green
#388004
ΔE00 1.82
Tree Green
#2A7E19
ΔE00 2.54
Forestgreen (CSS)
#228B22
ΔE00 3.63
Green
#008000
ΔE00 3.72
Emerald Green
#028F1E
ΔE00 5.17
Avocado
#568203
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#398319 #631983
analogous
#6E8319 #398319 #19832E
triadic
#398319 #193983 #831939
tetradic
#398319 #196E83 #631983 #832E19
square
#398319 #196E83 #631983 #832E19
split-complementary
#398319 #2E1983 #83196E
monochromatic
#0C1C05 #23500F #398319 #4FB623 #6CDA3D
Accessibility & contrast
On white
4.74
#398319 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#398319 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #398319
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##398319 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##398319 | 1.00 | 4.74 | 4.43 | 4.74 |
| #FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#7E7125
Tritanopia (blue-blind)
#327E6F
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #398319; /* rgb */ color: rgb(57, 131, 25); /* oklch */ color: oklch(54.2% 0.155 138.4);
Tailwind
colors: {
custom: {
50: '#78a85f',
500: '#398319',
950: '#000000',
},
}SCSS
$custom: #398319; $custom-light: #78a85f; $custom-dark: #000000;
JSON
{
"hex": "#398319",
"rgb": {
"r": 57,
"g": 131,
"b": 25
},
"hsl": {
"h": 101.887,
"s": 67.949,
"l": 30.588
},
"oklch": {
"l": 0.54192,
"c": 0.15527,
"h": 138.4
},
"luminance": 0.17173
}Semantic roles & 50–950 ramp
primary
#398319
secondary
#9341B7
accent
#3DEBB6
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79