#397A14#397A14

#397A14 is a mid, vivid yellow-green. Relative luminance 0.148; OKLCH L 51.7% C 0.147 H 137.2°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#397A14
RGBrgb(57, 122, 20)
HSLhsl(98, 72%, 28%)
HSVhsv(98, 84%, 48%)
CMYKcmyk(53.3%, 0%, 83.6%, 52.2%)
CIE-LABlab(45.41, -38.75, 45.05)
CIE-LCHlch(45.41, 59.42, 130.70°)
OKLaboklab(51.66% -0.1076 0.0996)
OKLCHoklch(51.66% 0.147 137.2)
XYZxyz(8.7729, 14.8388, 3.0636)
Luminance0.1484 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397A14 #55147A
analogous
#6C7A14 #397A14 #147A22
triadic
#397A14 #14397A #7A1439
tetradic
#397A14 #146C7A #55147A #7A2214
square
#397A14 #146C7A #55147A #7A2214
split-complementary
#397A14 #22147A #7A146C
monochromatic
#0C1A04 #20450B #397A14 #52AF1D #6CDC2C

Accessibility & contrast

On white

5.29
#397A14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#397A14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397A14
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397A14#FFFFFF#000000##FFFFFF
##397A141.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#766920
Tritanopia (blue-blind)
#357567
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #397a14;
/* rgb */ color: rgb(57, 122, 20);
/* oklch */ color: oklch(51.7% 0.147 137.2);
Tailwind
colors: {
  custom: {
    50: '#77a15c',
    500: '#397a14',
    950: '#000000',
  },
}
SCSS
$custom: #397a14;
$custom-light: #77a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#397a14",
  "rgb": {
    "r": 57,
    "g": 122,
    "b": 20
  },
  "hsl": {
    "h": 98.235,
    "s": 71.831,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51659,
    "c": 0.14662,
    "h": 137.2
  },
  "luminance": 0.14839
}

Semantic roles & 50–950 ramp

primary
#397A14
secondary
#853AB0
accent
#39EFAD
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #397A14

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

Preview Lab → · Contrast checker → · Palette generator →

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