#397C14#397C14

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

Color values

HEX#397C14
RGBrgb(57, 124, 20)
HSLhsl(99, 72%, 28%)
HSVhsv(99, 84%, 49%)
CMYKcmyk(54%, 0%, 83.9%, 51.4%)
CIE-LABlab(46.09, -39.55, 45.68)
CIE-LCHlch(46.09, 60.42, 130.89°)
OKLaboklab(52.22% -0.1098 0.1009)
OKLCHoklch(52.22% 0.149 137.4)
XYZxyz(9.0210, 15.3350, 3.1463)
Luminance0.1534 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397C14 #57147C
analogous
#6D7C14 #397C14 #147C23
triadic
#397C14 #14397C #7C1439
tetradic
#397C14 #146D7C #57147C #7C2314
square
#397C14 #146D7C #57147C #7C2314
split-complementary
#397C14 #23147C #7C146D
monochromatic
#0C1A04 #21470B #397C14 #51B11D #6CDD2D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397C14#FFFFFF#000000##FFFFFF
##397C141.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)
#786B21
Tritanopia (blue-blind)
#347769
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #397c14;
/* rgb */ color: rgb(57, 124, 20);
/* oklch */ color: oklch(52.2% 0.149 137.4);
Tailwind
colors: {
  custom: {
    50: '#77a25c',
    500: '#397c14',
    950: '#000000',
  },
}
SCSS
$custom: #397c14;
$custom-light: #77a25c;
$custom-dark: #000000;
JSON
{
  "hex": "#397c14",
  "rgb": {
    "r": 57,
    "g": 124,
    "b": 20
  },
  "hsl": {
    "h": 98.654,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52216,
    "c": 0.1491,
    "h": 137.4
  },
  "luminance": 0.15336
}

Semantic roles & 50–950 ramp

primary
#397C14
secondary
#873AB2
accent
#39EFAE
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #397C14

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

Preview Lab → · Contrast checker → · Palette generator →

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