#397D16#397D16

#397D16 is a mid, vivid yellow-green. Relative luminance 0.156; OKLCH L 52.5% C 0.149 H 137.7°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#397D16
RGBrgb(57, 125, 22)
HSLhsl(100, 70%, 29%)
HSVhsv(100, 82%, 49%)
CMYKcmyk(54.4%, 0%, 82.4%, 51%)
CIE-LABlab(46.44, -39.84, 45.38)
CIE-LCHlch(46.44, 60.39, 131.28°)
OKLaboklab(52.51% -0.1104 0.1006)
OKLCHoklch(52.51% 0.149 137.7)
XYZxyz(9.1655, 15.5943, 3.2859)
Luminance0.1560 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397D16 #5A167D
analogous
#6D7D16 #397D16 #167D27
triadic
#397D16 #16397D #7D1639
tetradic
#397D16 #166D7D #5A167D #7D2716
square
#397D16 #166D7D #5A167D #7D2716
split-complementary
#397D16 #27167D #7D166D
monochromatic
#0C1A05 #21490D #397D16 #51B11F #6CDB32

Accessibility & contrast

On white

5.10
#397D16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#397D16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397D16
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397D16#FFFFFF#000000##FFFFFF
##397D161.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817200
Deuteranopia (green-blind)
#796C22
Tritanopia (blue-blind)
#34786A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #397d16;
/* rgb */ color: rgb(57, 125, 22);
/* oklch */ color: oklch(52.5% 0.149 137.7);
Tailwind
colors: {
  custom: {
    50: '#77a35d',
    500: '#397d16',
    950: '#000000',
  },
}
SCSS
$custom: #397d16;
$custom-light: #77a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#397d16",
  "rgb": {
    "r": 57,
    "g": 125,
    "b": 22
  },
  "hsl": {
    "h": 99.612,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52507,
    "c": 0.14938,
    "h": 137.7
  },
  "luminance": 0.15595
}

Semantic roles & 50–950 ramp

primary
#397D16
secondary
#8A3DB2
accent
#3BEDB0
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #397D16

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

Preview Lab → · Contrast checker → · Palette generator →

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