#397317#397317

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

Color values

HEX#397317
RGBrgb(57, 115, 23)
HSLhsl(98, 67%, 27%)
HSVhsv(98, 80%, 45%)
CMYKcmyk(50.4%, 0%, 80%, 54.9%)
CIE-LABlab(43.05, -35.66, 41.83)
CIE-LCHlch(43.05, 54.97, 130.45°)
OKLaboklab(49.72% -0.0991 0.0933)
OKLCHoklch(49.72% 0.136 136.7)
XYZxyz(7.9725, 13.1926, 2.9368)
Luminance0.1319 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397317 #511773
analogous
#677317 #397317 #177323
triadic
#397317 #173973 #731739
tetradic
#397317 #176773 #511773 #732317
square
#397317 #176773 #511773 #732317
split-complementary
#397317 #231773 #731767
monochromatic
#0D1A05 #20400D #397317 #52A621 #6CD52F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397317#FFFFFF#000000##FFFFFF
##3973171.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)
#776902
Deuteranopia (green-blind)
#706421
Tritanopia (blue-blind)
#366F62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #397317;
/* rgb */ color: rgb(57, 115, 23);
/* oklch */ color: oklch(49.7% 0.136 136.7);
Tailwind
colors: {
  custom: {
    50: '#769c5c',
    500: '#397317',
    950: '#000000',
  },
}
SCSS
$custom: #397317;
$custom-light: #769c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#397317",
  "rgb": {
    "r": 57,
    "g": 115,
    "b": 23
  },
  "hsl": {
    "h": 97.826,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.49721,
    "c": 0.13615,
    "h": 136.7
  },
  "luminance": 0.13193
}

Semantic roles & 50–950 ramp

primary
#397317
secondary
#813DA9
accent
#3EEAAA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #397317

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

Preview Lab → · Contrast checker → · Palette generator →

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