#397319#397319

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

Color values

HEX#397319
RGBrgb(57, 115, 25)
HSLhsl(99, 64%, 27%)
HSVhsv(99, 78%, 45%)
CMYKcmyk(50.4%, 0%, 78.3%, 54.9%)
CIE-LABlab(43.06, -35.53, 41.12)
CIE-LCHlch(43.06, 54.34, 130.83°)
OKLaboklab(49.74% -0.0986 0.0922)
OKLCHoklch(49.74% 0.135 136.9)
XYZxyz(7.9933, 13.2010, 3.0464)
Luminance0.1320 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397319 #531973
analogous
#667319 #397319 #197326
triadic
#397319 #193973 #731939
tetradic
#397319 #196673 #531973 #732619
square
#397319 #196673 #531973 #732619
split-complementary
#397319 #261973 #731966
monochromatic
#0C1905 #20410E #397319 #52A524 #6CD334

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397319#FFFFFF#000000##FFFFFF
##3973191.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)
#776906
Deuteranopia (green-blind)
#6F6422
Tritanopia (blue-blind)
#366F62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #397319;
/* rgb */ color: rgb(57, 115, 25);
/* oklch */ color: oklch(49.7% 0.135 136.9);
Tailwind
colors: {
  custom: {
    50: '#769c5d',
    500: '#397319',
    950: '#000000',
  },
}
SCSS
$custom: #397319;
$custom-light: #769c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#397319",
  "rgb": {
    "r": 57,
    "g": 115,
    "b": 25
  },
  "hsl": {
    "h": 98.667,
    "s": 64.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.49735,
    "c": 0.13498,
    "h": 136.9
  },
  "luminance": 0.13202
}

Semantic roles & 50–950 ramp

primary
#397319
secondary
#8340A8
accent
#41E7AC
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #397319

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

Preview Lab → · Contrast checker → · Palette generator →

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