#397316#397316

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

Color values

HEX#397316
RGBrgb(57, 115, 22)
HSLhsl(97, 68%, 27%)
HSVhsv(97, 81%, 45%)
CMYKcmyk(50.4%, 0%, 80.9%, 54.9%)
CIE-LABlab(43.05, -35.73, 42.18)
CIE-LCHlch(43.05, 55.28, 130.27°)
OKLaboklab(49.71% -0.0994 0.0939)
OKLCHoklch(49.71% 0.137 136.6)
XYZxyz(7.9627, 13.1887, 2.8850)
Luminance0.1319 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397316 #501673
analogous
#687316 #397316 #167321
triadic
#397316 #163973 #731639
tetradic
#397316 #166873 #501673 #732116
square
#397316 #166873 #501673 #732116
split-complementary
#397316 #211673 #731668
monochromatic
#0D1A05 #20400C #397316 #52A620 #6DD72D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397316#FFFFFF#000000##FFFFFF
##3973161.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)
#706420
Tritanopia (blue-blind)
#366F62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #397316;
/* rgb */ color: rgb(57, 115, 22);
/* oklch */ color: oklch(49.7% 0.137 136.6);
Tailwind
colors: {
  custom: {
    50: '#769c5b',
    500: '#397316',
    950: '#000000',
  },
}
SCSS
$custom: #397316;
$custom-light: #769c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#397316",
  "rgb": {
    "r": 57,
    "g": 115,
    "b": 22
  },
  "hsl": {
    "h": 97.419,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.49714,
    "c": 0.13671,
    "h": 136.6
  },
  "luminance": 0.13189
}

Semantic roles & 50–950 ramp

primary
#397316
secondary
#803CA9
accent
#3DEBA9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #397316

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

Preview Lab → · Contrast checker → · Palette generator →

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