#398A20#398A20

#398A20 is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.2% C 0.160 H 139.5°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#398A20
RGBrgb(57, 138, 32)
HSLhsl(106, 62%, 33%)
HSVhsv(106, 77%, 54%)
CMYKcmyk(58.7%, 0%, 76.8%, 45.9%)
CIE-LABlab(50.86, -44.27, 46.23)
CIE-LCHlch(50.86, 64.01, 133.76°)
OKLaboklab(56.18% -0.1217 0.1039)
OKLCHoklch(56.18% 0.16 139.5)
XYZxyz(11.0361, 19.1501, 4.4810)
Luminance0.1915 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398A20 #71208A
analogous
#6E8A20 #398A20 #208A3C
triadic
#398A20 #20398A #8A2039
tetradic
#398A20 #206E8A #71208A #8A3C20
square
#398A20 #206E8A #71208A #8A3C20
split-complementary
#398A20 #3C208A #8A206E
monochromatic
#102709 #245814 #398A20 #4EBC2C #6ED64E

Accessibility & contrast

On white

4.35
#398A20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#398A20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398A20
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398A20#FFFFFF#000000##000000
##398A201.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D09
Deuteranopia (green-blind)
#84772B
Tritanopia (blue-blind)
#308576
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #398a20;
/* rgb */ color: rgb(57, 138, 32);
/* oklch */ color: oklch(56.2% 0.160 139.5);
Tailwind
colors: {
  custom: {
    50: '#79ad63',
    500: '#398a20',
    950: '#000000',
  },
}
SCSS
$custom: #398a20;
$custom-light: #79ad63;
$custom-dark: #000000;
JSON
{
  "hex": "#398a20",
  "rgb": {
    "r": 57,
    "g": 138,
    "b": 32
  },
  "hsl": {
    "h": 105.849,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56175,
    "c": 0.16004,
    "h": 139.5
  },
  "luminance": 0.19151
}

Semantic roles & 50–950 ramp

primary
#398A20
secondary
#A04DB9
accent
#42E5BF
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398A20

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

Preview Lab → · Contrast checker → · Palette generator →

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