#398D16#398D16

#398D16 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.9% C 0.169 H 138.8°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#398D16
RGBrgb(57, 141, 22)
HSLhsl(102, 73%, 32%)
HSVhsv(102, 84%, 55%)
CMYKcmyk(59.6%, 0%, 84.4%, 44.7%)
CIE-LABlab(51.81, -46.02, 50.34)
CIE-LCHlch(51.81, 68.20, 132.43°)
OKLaboklab(56.94% -0.127 0.111)
OKLCHoklch(56.94% 0.169 138.8)
XYZxyz(11.3566, 19.9765, 4.0163)
Luminance0.1998 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398D16 #6A168D
analogous
#758D16 #398D16 #168D2F
triadic
#398D16 #16398D #8D1639
tetradic
#398D16 #16758D #6A168D #8D2F16
square
#398D16 #16758D #6A168D #8D2F16
split-complementary
#398D16 #2F168D #8D1675
monochromatic
#0E2305 #24580E #398D16 #4EC21E #6DE13D

Accessibility & contrast

On white

4.20
#398D16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#398D16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398D16
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398D16#FFFFFF#000000##000000
##398D161.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#877925
Tritanopia (blue-blind)
#308878
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #398d16;
/* rgb */ color: rgb(57, 141, 22);
/* oklch */ color: oklch(56.9% 0.169 138.8);
Tailwind
colors: {
  custom: {
    50: '#7aaf60',
    500: '#398d16',
    950: '#000000',
  },
}
SCSS
$custom: #398d16;
$custom-light: #7aaf60;
$custom-dark: #000000;
JSON
{
  "hex": "#398d16",
  "rgb": {
    "r": 57,
    "g": 141,
    "b": 22
  },
  "hsl": {
    "h": 102.353,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56942,
    "c": 0.16866,
    "h": 138.8
  },
  "luminance": 0.19978
}

Semantic roles & 50–950 ramp

primary
#398D16
secondary
#9A3EC1
accent
#38F0BA
background
#F7FAF5
surface
#EEF5EA
border
#C9CFC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #398D16

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

Preview Lab → · Contrast checker → · Palette generator →

#398D16 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva