#398E20#398E20

#398E20 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.3% C 0.165 H 139.7°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#398E20
RGBrgb(57, 142, 32)
HSLhsl(106, 63%, 34%)
HSVhsv(106, 77%, 56%)
CMYKcmyk(59.9%, 0%, 77.5%, 44.3%)
CIE-LABlab(52.20, -45.79, 47.54)
CIE-LCHlch(52.20, 66.01, 133.92°)
OKLaboklab(57.28% -0.1258 0.1066)
OKLCHoklch(57.28% 0.165 139.7)
XYZxyz(11.6205, 20.3191, 4.6758)
Luminance0.2032 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398E20 #75208E
analogous
#708E20 #398E20 #208E3E
triadic
#398E20 #20398E #8E2039
tetradic
#398E20 #20708E #75208E #8E3E20
square
#398E20 #20708E #75208E #8E3E20
split-complementary
#398E20 #3E208E #8E2070
monochromatic
#112A09 #255C15 #398E20 #4DC02B #6FD851

Accessibility & contrast

On white

4.15
#398E20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#398E20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398E20
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398E20#FFFFFF#000000##000000
##398E201.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928107
Deuteranopia (green-blind)
#887A2C
Tritanopia (blue-blind)
#2F8979
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #398e20;
/* rgb */ color: rgb(57, 142, 32);
/* oklch */ color: oklch(57.3% 0.165 139.7);
Tailwind
colors: {
  custom: {
    50: '#7ab064',
    500: '#398e20',
    950: '#000000',
  },
}
SCSS
$custom: #398e20;
$custom-light: #7ab064;
$custom-dark: #000000;
JSON
{
  "hex": "#398e20",
  "rgb": {
    "r": 57,
    "g": 142,
    "b": 32
  },
  "hsl": {
    "h": 106.364,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57277,
    "c": 0.16493,
    "h": 139.7
  },
  "luminance": 0.2032
}

Semantic roles & 50–950 ramp

primary
#398E20
secondary
#A24FBB
accent
#42E6C1
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398E20

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

Preview Lab → · Contrast checker → · Palette generator →

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