#397517#397517

#397517 is a mid, vivid yellow-green. Relative luminance 0.137; OKLCH L 50.3% C 0.139 H 137.0°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#397517
RGBrgb(57, 117, 23)
HSLhsl(98, 67%, 27%)
HSVhsv(98, 80%, 46%)
CMYKcmyk(51.3%, 0%, 80.3%, 54.1%)
CIE-LABlab(43.73, -36.51, 42.49)
CIE-LCHlch(43.73, 56.02, 130.67°)
OKLaboklab(50.28% -0.1014 0.0947)
OKLCHoklch(50.28% 0.139 137)
XYZxyz(8.2030, 13.6537, 3.0136)
Luminance0.1365 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397517 #531775
analogous
#687517 #397517 #177524
triadic
#397517 #173975 #751739
tetradic
#397517 #176875 #531775 #752417
square
#397517 #176875 #531775 #752417
split-complementary
#397517 #241775 #751768
monochromatic
#0C1A05 #20420D #397517 #52A821 #6CD630

Accessibility & contrast

On white

5.63
#397517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#397517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397517
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397517#FFFFFF#000000##FFFFFF
##3975171.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A01
Deuteranopia (green-blind)
#716521
Tritanopia (blue-blind)
#357163
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #397517;
/* rgb */ color: rgb(57, 117, 23);
/* oklch */ color: oklch(50.3% 0.139 137.0);
Tailwind
colors: {
  custom: {
    50: '#769d5c',
    500: '#397517',
    950: '#000000',
  },
}
SCSS
$custom: #397517;
$custom-light: #769d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#397517",
  "rgb": {
    "r": 57,
    "g": 117,
    "b": 23
  },
  "hsl": {
    "h": 98.298,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.5028,
    "c": 0.13874,
    "h": 137
  },
  "luminance": 0.13654
}

Semantic roles & 50–950 ramp

primary
#397517
secondary
#833DAA
accent
#3EEAAC
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #397517

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

Preview Lab → · Contrast checker → · Palette generator →

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