#398140#398140
#398140 is a mid, vivid green. Relative luminance 0.169; OKLCH L 54.1% C 0.122 H 145.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #398140 |
|---|---|
| RGB | rgb(57, 129, 64) |
| HSL | hsl(126, 39%, 36%) |
| HSV | hsv(126, 56%, 51%) |
| CMYK | cmyk(55.8%, 0%, 50.4%, 49.4%) |
| CIE-LAB | lab(48.18, -37.03, 28.43) |
| CIE-LCH | lch(48.18, 46.68, 142.48°) |
| OKLab | oklab(54.07% -0.1004 0.069) |
| OKLCH | oklch(54.07% 0.122 145.5) |
| XYZ | xyz(10.4624, 16.9397, 7.5678) |
| Luminance | 0.1694 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.62
Jungle Green
#048243
ΔE00 3.86
Sea Green
#2E8B57
ΔE00 5.56
Tree Green
#2A7E19
ΔE00 5.92
Fern Green
#548D44
ΔE00 5.93
Dark Sage
#598556
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#398140 #81397A
analogous
#568139 #398140 #398164
triadic
#398140 #403981 #814039
tetradic
#398140 #395681 #81397A #816439
square
#398140 #395681 #81397A #816439
split-complementary
#398140 #643981 #813956
monochromatic
#132C16 #26572B #398140 #4CAB55 #73C17B
Accessibility & contrast
On white
4.79
#398140 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.39
#398140 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #398140
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##398140 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##398140 | 1.00 | 4.79 | 4.39 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#83763B
Deuteranopia (green-blind)
#797044
Tritanopia (blue-blind)
#2C7E72
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #398140; /* rgb */ color: rgb(57, 129, 64); /* oklch */ color: oklch(54.1% 0.122 145.5);
Tailwind
colors: {
custom: {
50: '#76a676',
500: '#398140',
950: '#000000',
},
}SCSS
$custom: #398140; $custom-light: #76a676; $custom-dark: #000000;
JSON
{
"hex": "#398140",
"rgb": {
"r": 57,
"g": 129,
"b": 64
},
"hsl": {
"h": 125.833,
"s": 38.71,
"l": 36.471
},
"oklch": {
"l": 0.54074,
"c": 0.12182,
"h": 145.5
},
"luminance": 0.16941
}Semantic roles & 50–950 ramp
primary
#398140
secondary
#AA6BA4
accent
#59C3CF
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#090F08
muted
#7B7F7B