#397314#397314

#397314 is a mid, vivid yellow-green. Relative luminance 0.132; OKLCH L 49.7% C 0.138 H 136.4°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#397314
RGBrgb(57, 115, 20)
HSLhsl(97, 70%, 26%)
HSVhsv(97, 83%, 45%)
CMYKcmyk(50.4%, 0%, 82.6%, 54.9%)
CIE-LABlab(43.04, -35.85, 42.84)
CIE-LCHlch(43.04, 55.86, 129.92°)
OKLaboklab(49.7% -0.0998 0.095)
OKLCHoklch(49.7% 0.138 136.4)
XYZxyz(7.9441, 13.1813, 2.7873)
Luminance0.1318 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397314 #4E1473
analogous
#697314 #397314 #14731F
triadic
#397314 #143973 #731439
tetradic
#397314 #146973 #4E1473 #731F14
square
#397314 #146973 #4E1473 #731F14
split-complementary
#397314 #1F1473 #731469
monochromatic
#0D1A05 #1F3F0B #397314 #53A71D #6DDA28

Accessibility & contrast

On white

5.77
#397314 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#397314 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397314
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397314#FFFFFF#000000##FFFFFF
##3973141.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776900
Deuteranopia (green-blind)
#70641F
Tritanopia (blue-blind)
#366E62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #397314;
/* rgb */ color: rgb(57, 115, 20);
/* oklch */ color: oklch(49.7% 0.138 136.4);
Tailwind
colors: {
  custom: {
    50: '#769c5b',
    500: '#397314',
    950: '#000000',
  },
}
SCSS
$custom: #397314;
$custom-light: #769c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#397314",
  "rgb": {
    "r": 57,
    "g": 115,
    "b": 20
  },
  "hsl": {
    "h": 96.632,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49702,
    "c": 0.13778,
    "h": 136.4
  },
  "luminance": 0.13182
}

Semantic roles & 50–950 ramp

primary
#397314
secondary
#7E3AA9
accent
#3BEDA8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #397314

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

Preview Lab → · Contrast checker → · Palette generator →

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