#397017#397017

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

Color values

HEX#397017
RGBrgb(57, 112, 23)
HSLhsl(97, 66%, 26%)
HSVhsv(97, 79%, 44%)
CMYKcmyk(49.1%, 0%, 79.5%, 56.1%)
CIE-LABlab(42.03, -34.38, 40.85)
CIE-LCHlch(42.03, 53.39, 130.09°)
OKLaboklab(48.88% -0.0957 0.0913)
OKLCHoklch(48.88% 0.132 136.4)
XYZxyz(7.6360, 12.5196, 2.8246)
Luminance0.1252 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397017 #4E1770
analogous
#667017 #397017 #177022
triadic
#397017 #173970 #701739
tetradic
#397017 #176670 #4E1770 #702217
square
#397017 #176670 #4E1770 #702217
split-complementary
#397017 #221770 #701766
monochromatic
#0D1905 #1F3D0D #397017 #53A321 #6DD42D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397017#FFFFFF#000000##FFFFFF
##3970171.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)
#746603
Deuteranopia (green-blind)
#6D6120
Tritanopia (blue-blind)
#366C5F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #397017;
/* rgb */ color: rgb(57, 112, 23);
/* oklch */ color: oklch(48.9% 0.132 136.4);
Tailwind
colors: {
  custom: {
    50: '#75995b',
    500: '#397017',
    950: '#000000',
  },
}
SCSS
$custom: #397017;
$custom-light: #75995b;
$custom-dark: #000000;
JSON
{
  "hex": "#397017",
  "rgb": {
    "r": 57,
    "g": 112,
    "b": 23
  },
  "hsl": {
    "h": 97.079,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48881,
    "c": 0.13224,
    "h": 136.4
  },
  "luminance": 0.1252
}

Semantic roles & 50–950 ramp

primary
#397017
secondary
#7E3DA6
accent
#3FE9A8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #397017

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

Preview Lab → · Contrast checker → · Palette generator →

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