#397416#397416

#397416 is a mid, vivid yellow-green. Relative luminance 0.134; OKLCH L 50.0% C 0.138 H 136.7°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#397416
RGBrgb(57, 116, 22)
HSLhsl(98, 68%, 27%)
HSVhsv(98, 81%, 45%)
CMYKcmyk(50.9%, 0%, 81%, 54.5%)
CIE-LABlab(43.39, -36.15, 42.50)
CIE-LCHlch(43.39, 55.80, 130.38°)
OKLaboklab(49.99% -0.1005 0.0946)
OKLCHoklch(49.99% 0.138 136.7)
XYZxyz(8.0773, 13.4180, 2.9232)
Luminance0.1342 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397416 #511674
analogous
#687416 #397416 #167422
triadic
#397416 #163974 #741639
tetradic
#397416 #166874 #511674 #742216
square
#397416 #166874 #511674 #742216
split-complementary
#397416 #221674 #741668
monochromatic
#0D1A05 #20410C #397416 #52A720 #6CD72D

Accessibility & contrast

On white

5.70
#397416 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#397416 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397416
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397416#FFFFFF#000000##FFFFFF
##3974161.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A00
Deuteranopia (green-blind)
#706520
Tritanopia (blue-blind)
#367062
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #397416;
/* rgb */ color: rgb(57, 116, 22);
/* oklch */ color: oklch(50.0% 0.138 136.7);
Tailwind
colors: {
  custom: {
    50: '#769c5c',
    500: '#397416',
    950: '#000000',
  },
}
SCSS
$custom: #397416;
$custom-light: #769c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#397416",
  "rgb": {
    "r": 57,
    "g": 116,
    "b": 22
  },
  "hsl": {
    "h": 97.66,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.49994,
    "c": 0.13801,
    "h": 136.7
  },
  "luminance": 0.13419
}

Semantic roles & 50–950 ramp

primary
#397416
secondary
#813CAA
accent
#3DEBAA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #397416

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

Preview Lab → · Contrast checker → · Palette generator →

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