#397616#397616

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

Color values

HEX#397616
RGBrgb(57, 118, 22)
HSLhsl(98, 69%, 27%)
HSVhsv(98, 81%, 46%)
CMYKcmyk(51.7%, 0%, 81.4%, 53.7%)
CIE-LABlab(44.07, -36.99, 43.15)
CIE-LCHlch(44.07, 56.83, 130.60°)
OKLaboklab(50.55% -0.1028 0.0959)
OKLCHoklch(50.55% 0.141 137)
XYZxyz(8.3103, 13.8841, 3.0009)
Luminance0.1389 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397616 #531676
analogous
#697616 #397616 #167623
triadic
#397616 #163976 #761639
tetradic
#397616 #166976 #531676 #762316
square
#397616 #166976 #531676 #762316
split-complementary
#397616 #231676 #761669
monochromatic
#0C1A05 #20420C #397616 #52AA20 #6CD82E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397616#FFFFFF#000000##FFFFFF
##3976161.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: #397616;
/* rgb */ color: rgb(57, 118, 22);
/* oklch */ color: oklch(50.6% 0.141 137.0);
Tailwind
colors: {
  custom: {
    50: '#769e5c',
    500: '#397616',
    950: '#000000',
  },
}
SCSS
$custom: #397616;
$custom-light: #769e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#397616",
  "rgb": {
    "r": 57,
    "g": 118,
    "b": 22
  },
  "hsl": {
    "h": 98.125,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.50553,
    "c": 0.14057,
    "h": 137
  },
  "luminance": 0.13885
}

Semantic roles & 50–950 ramp

primary
#397616
secondary
#833CAC
accent
#3CEBAC
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #397616

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

Preview Lab → · Contrast checker → · Palette generator →

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