#397016#397016

#397016 is a mid, vivid yellow-green. Relative luminance 0.125; OKLCH L 48.9% C 0.133 H 136.2°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#397016
RGBrgb(57, 112, 22)
HSLhsl(97, 67%, 26%)
HSVhsv(97, 80%, 44%)
CMYKcmyk(49.1%, 0%, 80.4%, 56.1%)
CIE-LABlab(42.02, -34.45, 41.20)
CIE-LCHlch(42.02, 53.71, 129.90°)
OKLaboklab(48.87% -0.0959 0.0919)
OKLCHoklch(48.87% 0.133 136.2)
XYZxyz(7.6261, 12.5156, 2.7728)
Luminance0.1252 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397016 #4D1670
analogous
#667016 #397016 #167020
triadic
#397016 #163970 #701639
tetradic
#397016 #166670 #4D1670 #702016
square
#397016 #166670 #4D1670 #702016
split-complementary
#397016 #201670 #701666
monochromatic
#0D1A05 #1F3D0C #397016 #53A320 #6DD52B

Accessibility & contrast

On white

5.99
#397016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#397016 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397016
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397016#FFFFFF#000000##FFFFFF
##3970161.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746602
Deuteranopia (green-blind)
#6D6120
Tritanopia (blue-blind)
#366C5F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #397016;
/* rgb */ color: rgb(57, 112, 22);
/* oklch */ color: oklch(48.9% 0.133 136.2);
Tailwind
colors: {
  custom: {
    50: '#75995b',
    500: '#397016',
    950: '#000000',
  },
}
SCSS
$custom: #397016;
$custom-light: #75995b;
$custom-dark: #000000;
JSON
{
  "hex": "#397016",
  "rgb": {
    "r": 57,
    "g": 112,
    "b": 22
  },
  "hsl": {
    "h": 96.667,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48874,
    "c": 0.13281,
    "h": 136.2
  },
  "luminance": 0.12516
}

Semantic roles & 50–950 ramp

primary
#397016
secondary
#7D3CA6
accent
#3EEAA7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #397016

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

Preview Lab → · Contrast checker → · Palette generator →

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