#397116#397116

#397116 is a mid, vivid yellow-green. Relative luminance 0.127; OKLCH L 49.2% C 0.134 H 136.4°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#397116
RGBrgb(57, 113, 22)
HSLhsl(97, 67%, 26%)
HSVhsv(97, 81%, 44%)
CMYKcmyk(49.6%, 0%, 80.5%, 55.7%)
CIE-LABlab(42.37, -34.88, 41.53)
CIE-LCHlch(42.37, 54.23, 130.03°)
OKLaboklab(49.15% -0.0971 0.0925)
OKLCHoklch(49.15% 0.134 136.4)
XYZxyz(7.7371, 12.7375, 2.8098)
Luminance0.1274 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397116 #4E1671
analogous
#677116 #397116 #167121
triadic
#397116 #163971 #711639
tetradic
#397116 #166771 #4E1671 #712116
square
#397116 #166771 #4E1671 #712116
split-complementary
#397116 #211671 #711667
monochromatic
#0D1A05 #1F3E0C #397116 #53A420 #6DD62C

Accessibility & contrast

On white

5.92
#397116 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#397116 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397116
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397116#FFFFFF#000000##FFFFFF
##3971161.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756701
Deuteranopia (green-blind)
#6E6220
Tritanopia (blue-blind)
#366D60
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #397116;
/* rgb */ color: rgb(57, 113, 22);
/* oklch */ color: oklch(49.2% 0.134 136.4);
Tailwind
colors: {
  custom: {
    50: '#759a5b',
    500: '#397116',
    950: '#000000',
  },
}
SCSS
$custom: #397116;
$custom-light: #759a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#397116",
  "rgb": {
    "r": 57,
    "g": 113,
    "b": 22
  },
  "hsl": {
    "h": 96.923,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49154,
    "c": 0.13412,
    "h": 136.4
  },
  "luminance": 0.12738
}

Semantic roles & 50–950 ramp

primary
#397116
secondary
#7E3CA7
accent
#3EEAA8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #397116

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

Preview Lab → · Contrast checker → · Palette generator →

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