#397A16#397A16

#397A16 is a mid, vivid yellow-green. Relative luminance 0.148; OKLCH L 51.7% C 0.146 H 137.4°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#397A16
RGBrgb(57, 122, 22)
HSLhsl(99, 69%, 28%)
HSVhsv(99, 82%, 48%)
CMYKcmyk(53.3%, 0%, 82%, 52.2%)
CIE-LABlab(45.42, -38.63, 44.43)
CIE-LCHlch(45.42, 58.88, 131.01°)
OKLaboklab(51.67% -0.1072 0.0986)
OKLCHoklch(51.67% 0.146 137.4)
XYZxyz(8.7914, 14.8462, 3.1612)
Luminance0.1485 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397A16 #57167A
analogous
#6B7A16 #397A16 #167A25
triadic
#397A16 #16397A #7A1639
tetradic
#397A16 #166B7A #57167A #7A2516
square
#397A16 #166B7A #57167A #7A2516
split-complementary
#397A16 #25167A #7A166B
monochromatic
#0C1A05 #21460D #397A16 #51AE1F #6CDA31

Accessibility & contrast

On white

5.29
#397A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#397A16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397A16
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397A16#FFFFFF#000000##FFFFFF
##397A161.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#766A22
Tritanopia (blue-blind)
#357568
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #397a16;
/* rgb */ color: rgb(57, 122, 22);
/* oklch */ color: oklch(51.7% 0.146 137.4);
Tailwind
colors: {
  custom: {
    50: '#77a15c',
    500: '#397a16',
    950: '#000000',
  },
}
SCSS
$custom: #397a16;
$custom-light: #77a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#397a16",
  "rgb": {
    "r": 57,
    "g": 122,
    "b": 22
  },
  "hsl": {
    "h": 99,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.5167,
    "c": 0.14564,
    "h": 137.4
  },
  "luminance": 0.14847
}

Semantic roles & 50–950 ramp

primary
#397A16
secondary
#873DAF
accent
#3CECAE
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #397A16

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

Preview Lab → · Contrast checker → · Palette generator →

#397A16 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva