#398116#398116

#398116 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.6% C 0.154 H 138.0°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#398116
RGBrgb(57, 129, 22)
HSLhsl(100, 71%, 30%)
HSVhsv(100, 83%, 51%)
CMYKcmyk(55.8%, 0%, 82.9%, 49.4%)
CIE-LABlab(47.79, -41.43, 46.64)
CIE-LCHlch(47.79, 62.38, 131.61°)
OKLaboklab(53.62% -0.1147 0.1032)
OKLCHoklch(53.62% 0.154 138)
XYZxyz(9.6821, 16.6275, 3.4581)
Luminance0.1663 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398116 #5E1681
analogous
#6F8116 #398116 #168129
triadic
#398116 #163981 #811639
tetradic
#398116 #166F81 #5E1681 #812916
square
#398116 #166F81 #5E1681 #812916
split-complementary
#398116 #291681 #81166F
monochromatic
#0C1A04 #224D0D #398116 #50B51F #6CDD35

Accessibility & contrast

On white

4.85
#398116 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#398116 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398116
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398116#FFFFFF#000000##FFFFFF
##3981161.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7C6F23
Tritanopia (blue-blind)
#337C6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #398116;
/* rgb */ color: rgb(57, 129, 22);
/* oklch */ color: oklch(53.6% 0.154 138.0);
Tailwind
colors: {
  custom: {
    50: '#78a65e',
    500: '#398116',
    950: '#000000',
  },
}
SCSS
$custom: #398116;
$custom-light: #78a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#398116",
  "rgb": {
    "r": 57,
    "g": 129,
    "b": 22
  },
  "hsl": {
    "h": 100.374,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53619,
    "c": 0.15431,
    "h": 138
  },
  "luminance": 0.16628
}

Semantic roles & 50–950 ramp

primary
#398116
secondary
#8E3DB6
accent
#3AEEB3
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #398116

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

Preview Lab → · Contrast checker → · Palette generator →

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