#398416#398416

#398416 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.5% C 0.158 H 138.2°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#398416
RGBrgb(57, 132, 22)
HSLhsl(101, 71%, 30%)
HSVhsv(101, 83%, 52%)
CMYKcmyk(56.8%, 0%, 83.3%, 48.2%)
CIE-LABlab(48.80, -42.60, 47.58)
CIE-LCHlch(48.80, 63.86, 131.84°)
OKLaboklab(54.45% -0.1178 0.1052)
OKLCHoklch(54.45% 0.158 138.2)
XYZxyz(10.0831, 17.4295, 3.5918)
Luminance0.1743 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398416 #611684
analogous
#708416 #398416 #16842A
triadic
#398416 #163984 #841639
tetradic
#398416 #167084 #611684 #842A16
square
#398416 #167084 #611684 #842A16
split-complementary
#398416 #2A1684 #841670
monochromatic
#0C1B05 #22500D #398416 #50B81F #6CDE37

Accessibility & contrast

On white

4.68
#398416 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#398416 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398416
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398416#FFFFFF#000000##FFFFFF
##3984161.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#7F7223
Tritanopia (blue-blind)
#327F70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #398416;
/* rgb */ color: rgb(57, 132, 22);
/* oklch */ color: oklch(54.5% 0.158 138.2);
Tailwind
colors: {
  custom: {
    50: '#79a85e',
    500: '#398416',
    950: '#000000',
  },
}
SCSS
$custom: #398416;
$custom-light: #79a85e;
$custom-dark: #000000;
JSON
{
  "hex": "#398416",
  "rgb": {
    "r": 57,
    "g": 132,
    "b": 22
  },
  "hsl": {
    "h": 100.909,
    "s": 71.429,
    "l": 30.196
  },
  "oklch": {
    "l": 0.54452,
    "c": 0.15795,
    "h": 138.2
  },
  "luminance": 0.1743
}

Semantic roles & 50–950 ramp

primary
#398416
secondary
#913DB8
accent
#3AEEB5
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #398416

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

Preview Lab → · Contrast checker → · Palette generator →

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