#398320#398320

#398320 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.2% C 0.151 H 139.1°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#398320
RGBrgb(57, 131, 32)
HSLhsl(105, 61%, 32%)
HSVhsv(105, 76%, 51%)
CMYKcmyk(56.5%, 0%, 75.6%, 48.6%)
CIE-LABlab(48.52, -41.55, 43.89)
CIE-LCHlch(48.52, 60.44, 133.43°)
OKLaboklab(54.24% -0.1144 0.099)
OKLCHoklch(54.24% 0.151 139.1)
XYZxyz(10.0640, 17.2059, 4.1570)
Luminance0.1721 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398320 #6A2083
analogous
#6B8320 #398320 #208338
triadic
#398320 #203983 #832039
tetradic
#398320 #206B83 #6A2083 #833820
square
#398320 #206B83 #6A2083 #833820
split-complementary
#398320 #382083 #83206B
monochromatic
#0E2108 #245214 #398320 #4EB42C #6DD34A

Accessibility & contrast

On white

4.73
#398320 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#398320 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398320
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398320#FFFFFF#000000##FFFFFF
##3983201.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87770D
Deuteranopia (green-blind)
#7E712A
Tritanopia (blue-blind)
#327E70
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #398320;
/* rgb */ color: rgb(57, 131, 32);
/* oklch */ color: oklch(54.2% 0.151 139.1);
Tailwind
colors: {
  custom: {
    50: '#78a862',
    500: '#398320',
    950: '#000000',
  },
}
SCSS
$custom: #398320;
$custom-light: #78a862;
$custom-dark: #000000;
JSON
{
  "hex": "#398320",
  "rgb": {
    "r": 57,
    "g": 131,
    "b": 32
  },
  "hsl": {
    "h": 104.848,
    "s": 60.736,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54241,
    "c": 0.1513,
    "h": 139.1
  },
  "luminance": 0.17207
}

Semantic roles & 50–950 ramp

primary
#398320
secondary
#9A49B6
accent
#44E4BB
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #398320

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

Preview Lab → · Contrast checker → · Palette generator →

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