#397216#397216

#397216 is a mid, vivid yellow-green. Relative luminance 0.130; OKLCH L 49.4% C 0.135 H 136.5°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#397216
RGBrgb(57, 114, 22)
HSLhsl(97, 68%, 27%)
HSVhsv(97, 81%, 45%)
CMYKcmyk(50%, 0%, 80.7%, 55.3%)
CIE-LABlab(42.71, -35.30, 41.85)
CIE-LCHlch(42.71, 54.76, 130.15°)
OKLaboklab(49.43% -0.0982 0.0932)
OKLCHoklch(49.43% 0.135 136.5)
XYZxyz(7.8493, 12.9619, 2.8472)
Luminance0.1296 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397216 #4F1672
analogous
#677216 #397216 #167221
triadic
#397216 #163972 #721639
tetradic
#397216 #166772 #4F1672 #722116
square
#397216 #166772 #4F1672 #722116
split-complementary
#397216 #211672 #721667
monochromatic
#0D1A05 #1F3F0C #397216 #53A520 #6DD62C

Accessibility & contrast

On white

5.85
#397216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#397216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397216
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397216#FFFFFF#000000##FFFFFF
##3972161.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766801
Deuteranopia (green-blind)
#6F6320
Tritanopia (blue-blind)
#366E61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #397216;
/* rgb */ color: rgb(57, 114, 22);
/* oklch */ color: oklch(49.4% 0.135 136.5);
Tailwind
colors: {
  custom: {
    50: '#769b5b',
    500: '#397216',
    950: '#000000',
  },
}
SCSS
$custom: #397216;
$custom-light: #769b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#397216",
  "rgb": {
    "r": 57,
    "g": 114,
    "b": 22
  },
  "hsl": {
    "h": 97.174,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49434,
    "c": 0.13542,
    "h": 136.5
  },
  "luminance": 0.12962
}

Semantic roles & 50–950 ramp

primary
#397216
secondary
#7F3CA8
accent
#3DEBA9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #397216

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

Preview Lab → · Contrast checker → · Palette generator →

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