#397717#397717

#397717 is a mid, vivid yellow-green. Relative luminance 0.141; OKLCH L 50.8% C 0.141 H 137.2°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#397717
RGBrgb(57, 119, 23)
HSLhsl(99, 68%, 28%)
HSVhsv(99, 81%, 47%)
CMYKcmyk(52.1%, 0%, 80.7%, 53.3%)
CIE-LABlab(44.41, -37.34, 43.14)
CIE-LCHlch(44.41, 57.05, 130.88°)
OKLaboklab(50.84% -0.1036 0.0961)
OKLCHoklch(50.84% 0.141 137.2)
XYZxyz(8.4386, 14.1248, 3.0921)
Luminance0.1412 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397717 #551777
analogous
#697717 #397717 #177725
triadic
#397717 #173977 #771739
tetradic
#397717 #176977 #551777 #772517
square
#397717 #176977 #551777 #772517
split-complementary
#397717 #251777 #771769
monochromatic
#0C1A05 #20440D #397717 #52AA21 #6CD731

Accessibility & contrast

On white

5.49
#397717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#397717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397717
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397717#FFFFFF#000000##FFFFFF
##3977171.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#736722
Tritanopia (blue-blind)
#357265
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #397717;
/* rgb */ color: rgb(57, 119, 23);
/* oklch */ color: oklch(50.8% 0.141 137.2);
Tailwind
colors: {
  custom: {
    50: '#769f5c',
    500: '#397717',
    950: '#000000',
  },
}
SCSS
$custom: #397717;
$custom-light: #769f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#397717",
  "rgb": {
    "r": 57,
    "g": 119,
    "b": 23
  },
  "hsl": {
    "h": 98.75,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50839,
    "c": 0.14131,
    "h": 137.2
  },
  "luminance": 0.14125
}

Semantic roles & 50–950 ramp

primary
#397717
secondary
#853EAC
accent
#3DEAAD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #397717

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

Preview Lab → · Contrast checker → · Palette generator →

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