#397213#397213

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

Color values

HEX#397213
RGBrgb(57, 114, 19)
HSLhsl(96, 71%, 26%)
HSVhsv(96, 83%, 45%)
CMYKcmyk(50%, 0%, 83.3%, 55.3%)
CIE-LABlab(42.69, -35.49, 42.84)
CIE-LCHlch(42.69, 55.63, 129.64°)
OKLaboklab(49.42% -0.0989 0.0948)
OKLCHoklch(49.42% 0.137 136.2)
XYZxyz(7.8220, 12.9510, 2.7036)
Luminance0.1295 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397213 #4C1372
analogous
#687213 #397213 #13721C
triadic
#397213 #133972 #721339
tetradic
#397213 #136872 #4C1372 #721C13
square
#397213 #136872 #4C1372 #721C13
split-complementary
#397213 #1C1372 #721368
monochromatic
#0D1A04 #1F3E0A #397213 #53A61C #6EDB25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397213#FFFFFF#000000##FFFFFF
##3972131.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)
#766800
Deuteranopia (green-blind)
#6F631E
Tritanopia (blue-blind)
#366D61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #397213;
/* rgb */ color: rgb(57, 114, 19);
/* oklch */ color: oklch(49.4% 0.137 136.2);
Tailwind
colors: {
  custom: {
    50: '#769b5a',
    500: '#397213',
    950: '#000000',
  },
}
SCSS
$custom: #397213;
$custom-light: #769b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#397213",
  "rgb": {
    "r": 57,
    "g": 114,
    "b": 19
  },
  "hsl": {
    "h": 96,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.49415,
    "c": 0.137,
    "h": 136.2
  },
  "luminance": 0.12952
}

Semantic roles & 50–950 ramp

primary
#397213
secondary
#7C38A9
accent
#3AEEA6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #397213

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

Preview Lab → · Contrast checker → · Palette generator →

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