#398016#398016

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

Color values

HEX#398016
RGBrgb(57, 128, 22)
HSLhsl(100, 71%, 29%)
HSVhsv(100, 83%, 50%)
CMYKcmyk(55.5%, 0%, 82.8%, 49.8%)
CIE-LABlab(47.45, -41.04, 46.33)
CIE-LCHlch(47.45, 61.89, 131.53°)
OKLaboklab(53.34% -0.1136 0.1026)
OKLCHoklch(53.34% 0.153 137.9)
XYZxyz(9.5510, 16.3654, 3.4144)
Luminance0.1637 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398016 #5D1680
analogous
#6E8016 #398016 #168028
triadic
#398016 #163980 #801639
tetradic
#398016 #166E80 #5D1680 #802816
square
#398016 #166E80 #5D1680 #802816
split-complementary
#398016 #281680 #80166E
monochromatic
#0C1A04 #224C0D #398016 #50B41F #6CDC34

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398016#FFFFFF#000000##FFFFFF
##3980161.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: #398016;
/* rgb */ color: rgb(57, 128, 22);
/* oklch */ color: oklch(53.3% 0.153 137.9);
Tailwind
colors: {
  custom: {
    50: '#78a55d',
    500: '#398016',
    950: '#000000',
  },
}
SCSS
$custom: #398016;
$custom-light: #78a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#398016",
  "rgb": {
    "r": 57,
    "g": 128,
    "b": 22
  },
  "hsl": {
    "h": 100.189,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53341,
    "c": 0.15308,
    "h": 137.9
  },
  "luminance": 0.16366
}

Semantic roles & 50–950 ramp

primary
#398016
secondary
#8D3DB5
accent
#3AEDB2
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #398016

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

Preview Lab → · Contrast checker → · Palette generator →

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