#397E16#397E16

#397E16 is a mid, vivid yellow-green. Relative luminance 0.158; OKLCH L 52.8% C 0.151 H 137.8°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#397E16
RGBrgb(57, 126, 22)
HSLhsl(100, 70%, 29%)
HSVhsv(100, 83%, 49%)
CMYKcmyk(54.8%, 0%, 82.5%, 50.6%)
CIE-LABlab(46.78, -40.24, 45.70)
CIE-LCHlch(46.78, 60.89, 131.37°)
OKLaboklab(52.79% -0.1115 0.1013)
OKLCHoklch(52.79% 0.151 137.8)
XYZxyz(9.2927, 15.8488, 3.3283)
Luminance0.1585 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397E16 #5B167E
analogous
#6D7E16 #397E16 #167E27
triadic
#397E16 #16397E #7E1639
tetradic
#397E16 #166D7E #5B167E #7E2716
square
#397E16 #166D7E #5B167E #7E2716
split-complementary
#397E16 #27167E #7E166D
monochromatic
#0C1A05 #214A0D #397E16 #51B21F #6CDB33

Accessibility & contrast

On white

5.04
#397E16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#397E16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397E16
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397E16#FFFFFF#000000##FFFFFF
##397E161.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#796D22
Tritanopia (blue-blind)
#34796B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #397e16;
/* rgb */ color: rgb(57, 126, 22);
/* oklch */ color: oklch(52.8% 0.151 137.8);
Tailwind
colors: {
  custom: {
    50: '#78a45d',
    500: '#397e16',
    950: '#000000',
  },
}
SCSS
$custom: #397e16;
$custom-light: #78a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#397e16",
  "rgb": {
    "r": 57,
    "g": 126,
    "b": 22
  },
  "hsl": {
    "h": 99.808,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52785,
    "c": 0.15062,
    "h": 137.8
  },
  "luminance": 0.15849
}

Semantic roles & 50–950 ramp

primary
#397E16
secondary
#8B3DB3
accent
#3BEDB1
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #397E16

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

Preview Lab → · Contrast checker → · Palette generator →

#397E16 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva