#397C16#397C16

#397C16 is a mid, vivid yellow-green. Relative luminance 0.153; OKLCH L 52.2% C 0.148 H 137.6°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#397C16
RGBrgb(57, 124, 22)
HSLhsl(99, 70%, 29%)
HSVhsv(99, 82%, 49%)
CMYKcmyk(54%, 0%, 82.3%, 51.4%)
CIE-LABlab(46.10, -39.44, 45.07)
CIE-LCHlch(46.10, 59.89, 131.19°)
OKLaboklab(52.23% -0.1093 0.0999)
OKLCHoklch(52.23% 0.148 137.6)
XYZxyz(9.0395, 15.3424, 3.2439)
Luminance0.1534 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397C16 #59167C
analogous
#6C7C16 #397C16 #167C26
triadic
#397C16 #16397C #7C1639
tetradic
#397C16 #166C7C #59167C #7C2616
square
#397C16 #166C7C #59167C #7C2616
split-complementary
#397C16 #26167C #7C166C
monochromatic
#0C1A05 #21480D #397C16 #51B01F #6CDB32

Accessibility & contrast

On white

5.16
#397C16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#397C16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397C16
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397C16#FFFFFF#000000##FFFFFF
##397C161.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#786B22
Tritanopia (blue-blind)
#347769
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #397c16;
/* rgb */ color: rgb(57, 124, 22);
/* oklch */ color: oklch(52.2% 0.148 137.6);
Tailwind
colors: {
  custom: {
    50: '#77a25d',
    500: '#397c16',
    950: '#000000',
  },
}
SCSS
$custom: #397c16;
$custom-light: #77a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#397c16",
  "rgb": {
    "r": 57,
    "g": 124,
    "b": 22
  },
  "hsl": {
    "h": 99.412,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52228,
    "c": 0.14814,
    "h": 137.6
  },
  "luminance": 0.15343
}

Semantic roles & 50–950 ramp

primary
#397C16
secondary
#893DB1
accent
#3BEDB0
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #397C16

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

Preview Lab → · Contrast checker → · Palette generator →

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