#398020#398020

#398020 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.4% C 0.147 H 138.9°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#398020
RGBrgb(57, 128, 32)
HSLhsl(104, 60%, 31%)
HSVhsv(104, 75%, 50%)
CMYKcmyk(55.5%, 0%, 75%, 49.8%)
CIE-LABlab(47.51, -40.36, 42.88)
CIE-LCHlch(47.51, 58.88, 133.27°)
OKLaboklab(53.41% -0.1112 0.0969)
OKLCHoklch(53.41% 0.147 138.9)
XYZxyz(9.6669, 16.4117, 4.0246)
Luminance0.1641 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398020 #672080
analogous
#698020 #398020 #208037
triadic
#398020 #203980 #802039
tetradic
#398020 #206980 #672080 #803720
square
#398020 #206980 #672080 #803720
split-complementary
#398020 #372080 #802069
monochromatic
#0D1E08 #234F14 #398020 #4FB12C #6CD149

Accessibility & contrast

On white

4.90
#398020 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#398020 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398020
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398020#FFFFFF#000000##FFFFFF
##3980201.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84740F
Deuteranopia (green-blind)
#7B6E2A
Tritanopia (blue-blind)
#327C6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #398020;
/* rgb */ color: rgb(57, 128, 32);
/* oklch */ color: oklch(53.4% 0.147 138.9);
Tailwind
colors: {
  custom: {
    50: '#77a562',
    500: '#398020',
    950: '#000000',
  },
}
SCSS
$custom: #398020;
$custom-light: #77a562;
$custom-dark: #000000;
JSON
{
  "hex": "#398020",
  "rgb": {
    "r": 57,
    "g": 128,
    "b": 32
  },
  "hsl": {
    "h": 104.375,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5341,
    "c": 0.14748,
    "h": 138.9
  },
  "luminance": 0.16412
}

Semantic roles & 50–950 ramp

primary
#398020
secondary
#9749B3
accent
#45E3BA
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #398020

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

Preview Lab → · Contrast checker → · Palette generator →

#398020 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva