#398B20#398B20

#398B20 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.5% C 0.161 H 139.6°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#398B20
RGBrgb(57, 139, 32)
HSLhsl(106, 63%, 34%)
HSVhsv(106, 77%, 55%)
CMYKcmyk(59%, 0%, 77%, 45.5%)
CIE-LABlab(51.20, -44.65, 46.56)
CIE-LCHlch(51.20, 64.51, 133.80°)
OKLaboklab(56.45% -0.1228 0.1046)
OKLCHoklch(56.45% 0.161 139.6)
XYZxyz(11.1802, 19.4384, 4.5290)
Luminance0.1944 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398B20 #72208B
analogous
#6E8B20 #398B20 #208B3C
triadic
#398B20 #20398B #8B2039
tetradic
#398B20 #206E8B #72208B #8B3C20
square
#398B20 #206E8B #72208B #8B3C20
split-complementary
#398B20 #3C208B #8B206E
monochromatic
#102809 #255915 #398B20 #4DBD2B #6FD64F

Accessibility & contrast

On white

4.30
#398B20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#398B20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398B20
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398B20#FFFFFF#000000##000000
##398B201.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E09
Deuteranopia (green-blind)
#85772B
Tritanopia (blue-blind)
#2F8677
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #398b20;
/* rgb */ color: rgb(57, 139, 32);
/* oklch */ color: oklch(56.5% 0.161 139.6);
Tailwind
colors: {
  custom: {
    50: '#79ae64',
    500: '#398b20',
    950: '#000000',
  },
}
SCSS
$custom: #398b20;
$custom-light: #79ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#398b20",
  "rgb": {
    "r": 57,
    "g": 139,
    "b": 32
  },
  "hsl": {
    "h": 105.981,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56451,
    "c": 0.16126,
    "h": 139.6
  },
  "luminance": 0.19439
}

Semantic roles & 50–950 ramp

primary
#398B20
secondary
#A04DBA
accent
#42E6BF
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398B20

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#398B20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva