#397617#397617

#397617 is a mid, vivid yellow-green. Relative luminance 0.139; OKLCH L 50.6% C 0.140 H 137.1°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#397617
RGBrgb(57, 118, 23)
HSLhsl(99, 67%, 28%)
HSVhsv(99, 81%, 46%)
CMYKcmyk(51.7%, 0%, 80.5%, 53.7%)
CIE-LABlab(44.07, -36.92, 42.81)
CIE-LCHlch(44.07, 56.54, 130.77°)
OKLaboklab(50.56% -0.1025 0.0954)
OKLCHoklch(50.56% 0.14 137.1)
XYZxyz(8.3202, 13.8880, 3.0527)
Luminance0.1389 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397617 #541776
analogous
#697617 #397617 #177624
triadic
#397617 #173976 #761739
tetradic
#397617 #176976 #541776 #762417
square
#397617 #176976 #541776 #762417
split-complementary
#397617 #241776 #761769
monochromatic
#0C1A05 #20430D #397617 #52A921 #6CD731

Accessibility & contrast

On white

5.56
#397617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#397617 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397617
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397617#FFFFFF#000000##FFFFFF
##3976171.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#726621
Tritanopia (blue-blind)
#357164
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #397617;
/* rgb */ color: rgb(57, 118, 23);
/* oklch */ color: oklch(50.6% 0.140 137.1);
Tailwind
colors: {
  custom: {
    50: '#769e5c',
    500: '#397617',
    950: '#000000',
  },
}
SCSS
$custom: #397617;
$custom-light: #769e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#397617",
  "rgb": {
    "r": 57,
    "g": 118,
    "b": 23
  },
  "hsl": {
    "h": 98.526,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.5056,
    "c": 0.14003,
    "h": 137.1
  },
  "luminance": 0.13889
}

Semantic roles & 50–950 ramp

primary
#397617
secondary
#843EAB
accent
#3EEAAC
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #397617

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

Preview Lab → · Contrast checker → · Palette generator →

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