#398D20#398D20

#398D20 is a mid, vivid green. Relative luminance 0.200; OKLCH L 57.0% C 0.164 H 139.7°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#398D20
RGBrgb(57, 141, 32)
HSLhsl(106, 63%, 34%)
HSVhsv(106, 77%, 55%)
CMYKcmyk(59.6%, 0%, 77.3%, 44.7%)
CIE-LABlab(51.86, -45.41, 47.22)
CIE-LCHlch(51.86, 65.51, 133.88°)
OKLaboklab(57% -0.1248 0.1059)
OKLCHoklch(57% 0.164 139.7)
XYZxyz(11.4724, 20.0229, 4.6265)
Luminance0.2002 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398D20 #74208D
analogous
#708D20 #398D20 #208D3E
triadic
#398D20 #20398D #8D2039
tetradic
#398D20 #20708D #74208D #8D3E20
square
#398D20 #20708D #74208D #8D3E20
split-complementary
#398D20 #3E208D #8D2070
monochromatic
#112909 #255B15 #398D20 #4DBF2B #6FD750

Accessibility & contrast

On white

4.20
#398D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#398D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398D20
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398D20#FFFFFF#000000##000000
##398D201.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#918007
Deuteranopia (green-blind)
#87792C
Tritanopia (blue-blind)
#2F8878
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #398d20;
/* rgb */ color: rgb(57, 141, 32);
/* oklch */ color: oklch(57.0% 0.164 139.7);
Tailwind
colors: {
  custom: {
    50: '#7aaf64',
    500: '#398d20',
    950: '#000000',
  },
}
SCSS
$custom: #398d20;
$custom-light: #7aaf64;
$custom-dark: #000000;
JSON
{
  "hex": "#398d20",
  "rgb": {
    "r": 57,
    "g": 141,
    "b": 32
  },
  "hsl": {
    "h": 106.239,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57002,
    "c": 0.16371,
    "h": 139.7
  },
  "luminance": 0.20024
}

Semantic roles & 50–950 ramp

primary
#398D20
secondary
#A24EBA
accent
#42E6C0
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398D20

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

Preview Lab → · Contrast checker → · Palette generator →

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