#398017#398017

#398017 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.3% C 0.153 H 138.0°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#398017
RGBrgb(57, 128, 23)
HSLhsl(101, 70%, 30%)
HSVhsv(101, 82%, 50%)
CMYKcmyk(55.5%, 0%, 82%, 49.8%)
CIE-LABlab(47.46, -40.98, 46.02)
CIE-LCHlch(47.46, 61.62, 131.68°)
OKLaboklab(53.35% -0.1134 0.1021)
OKLCHoklch(53.35% 0.153 138)
XYZxyz(9.5608, 16.3693, 3.4662)
Luminance0.1637 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398017 #5E1780
analogous
#6E8017 #398017 #178029
triadic
#398017 #173980 #801739
tetradic
#398017 #176E80 #5E1780 #802917
square
#398017 #176E80 #5E1780 #802917
split-complementary
#398017 #291780 #80176E
monochromatic
#0C1A05 #224C0E #398017 #50B420 #6CDB36

Accessibility & contrast

On white

4.91
#398017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#398017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398017
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398017#FFFFFF#000000##FFFFFF
##3980171.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7B6E23
Tritanopia (blue-blind)
#337B6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #398017;
/* rgb */ color: rgb(57, 128, 23);
/* oklch */ color: oklch(53.3% 0.153 138.0);
Tailwind
colors: {
  custom: {
    50: '#78a55e',
    500: '#398017',
    950: '#000000',
  },
}
SCSS
$custom: #398017;
$custom-light: #78a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#398017",
  "rgb": {
    "r": 57,
    "g": 128,
    "b": 23
  },
  "hsl": {
    "h": 100.571,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53347,
    "c": 0.15259,
    "h": 138
  },
  "luminance": 0.1637
}

Semantic roles & 50–950 ramp

primary
#398017
secondary
#8E3EB4
accent
#3BECB3
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #398017

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

Preview Lab → · Contrast checker → · Palette generator →

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