#398C1A#398C1A
#398C1A is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.7% C 0.166 H 139.1°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #398C1A |
|---|---|
| RGB | rgb(57, 140, 26) |
| HSL | hsl(104, 69%, 33%) |
| HSV | hsv(104, 81%, 55%) |
| CMYK | cmyk(59.3%, 0%, 81.4%, 45.1%) |
| CIE-LAB | lab(51.50, -45.43, 48.87) |
| CIE-LCH | lch(51.50, 66.72, 132.91°) |
| OKLab | oklab(56.69% -0.1252 0.1085) |
| OKLCH | oklch(56.69% 0.166 139.1) |
| XYZ | xyz(11.2514, 19.6996, 4.1866) |
| Luminance | 0.1970 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.58
Emerald Green
#028F1E
ΔE00 3.37
True Green
#089404
ΔE00 3.69
Dark Grass Green
#388004
ΔE00 4.43
Irish Green
#019529
ΔE00 4.62
Tree Green
#2A7E19
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#398C1A #6D1A8C
analogous
#728C1A #398C1A #1A8C34
triadic
#398C1A #1A398C #8C1A39
tetradic
#398C1A #1A728C #6D1A8C #8C341A
square
#398C1A #1A728C #6D1A8C #8C341A
split-complementary
#398C1A #341A8C #8C1A72
monochromatic
#0F2507 #245810 #398C1A #4EC024 #6DDC44
Accessibility & contrast
On white
4.25
#398C1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.94
#398C1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #398C1A
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##398C1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##398C1A | 1.00 | 4.25 | 4.94 | 4.94 |
| #FFFFFF | 4.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#867828
Tritanopia (blue-blind)
#308777
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #398c1a; /* rgb */ color: rgb(57, 140, 26); /* oklch */ color: oklch(56.7% 0.166 139.1);
Tailwind
colors: {
custom: {
50: '#7aae61',
500: '#398c1a',
950: '#000000',
},
}SCSS
$custom: #398c1a; $custom-light: #7aae61; $custom-dark: #000000;
JSON
{
"hex": "#398c1a",
"rgb": {
"r": 57,
"g": 140,
"b": 26
},
"hsl": {
"h": 103.684,
"s": 68.675,
"l": 32.549
},
"oklch": {
"l": 0.56688,
"c": 0.16567,
"h": 139.1
},
"luminance": 0.19701
}Semantic roles & 50–950 ramp
primary
#398C1A
secondary
#9D44BE
accent
#3CECBC
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A