#397214#397214

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

Color values

HEX#397214
RGBrgb(57, 114, 20)
HSLhsl(96, 70%, 26%)
HSVhsv(96, 82%, 45%)
CMYKcmyk(50%, 0%, 82.5%, 55.3%)
CIE-LABlab(42.69, -35.43, 42.52)
CIE-LCHlch(42.69, 55.35, 129.80°)
OKLaboklab(49.42% -0.0987 0.0943)
OKLCHoklch(49.42% 0.137 136.3)
XYZxyz(7.8307, 12.9545, 2.7495)
Luminance0.1295 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397214 #4D1472
analogous
#687214 #397214 #14721E
triadic
#397214 #143972 #721439
tetradic
#397214 #146872 #4D1472 #721E14
square
#397214 #146872 #4D1472 #721E14
split-complementary
#397214 #1E1472 #721468
monochromatic
#0D1A05 #1F3E0B #397214 #53A61D #6DD927

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397214#FFFFFF#000000##FFFFFF
##3972141.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)
#6F631F
Tritanopia (blue-blind)
#366E61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #397214;
/* rgb */ color: rgb(57, 114, 20);
/* oklch */ color: oklch(49.4% 0.137 136.3);
Tailwind
colors: {
  custom: {
    50: '#769b5a',
    500: '#397214',
    950: '#000000',
  },
}
SCSS
$custom: #397214;
$custom-light: #769b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#397214",
  "rgb": {
    "r": 57,
    "g": 114,
    "b": 20
  },
  "hsl": {
    "h": 96.383,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49421,
    "c": 0.1365,
    "h": 136.3
  },
  "luminance": 0.12955
}

Semantic roles & 50–950 ramp

primary
#397214
secondary
#7D39A8
accent
#3BEDA7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #397214

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

Preview Lab → · Contrast checker → · Palette generator →

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