#397E14#397E14

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

Color values

HEX#397E14
RGBrgb(57, 126, 20)
HSLhsl(99, 73%, 29%)
HSVhsv(99, 84%, 49%)
CMYKcmyk(54.8%, 0%, 84.1%, 50.6%)
CIE-LABlab(46.77, -40.35, 46.30)
CIE-LCHlch(46.77, 61.42, 131.07°)
OKLaboklab(52.77% -0.1119 0.1022)
OKLCHoklch(52.77% 0.152 137.6)
XYZxyz(9.2742, 15.8414, 3.2307)
Luminance0.1584 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397E14 #59147E
analogous
#6E7E14 #397E14 #147E24
triadic
#397E14 #14397E #7E1439
tetradic
#397E14 #146E7E #59147E #7E2414
square
#397E14 #146E7E #59147E #7E2414
split-complementary
#397E14 #24147E #7E146E
monochromatic
#0C1A04 #21490C #397E14 #51B31C #6CDE2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397E14#FFFFFF#000000##FFFFFF
##397E141.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)
#7A6D21
Tritanopia (blue-blind)
#34796B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #397e14;
/* rgb */ color: rgb(57, 126, 20);
/* oklch */ color: oklch(52.8% 0.152 137.6);
Tailwind
colors: {
  custom: {
    50: '#78a45c',
    500: '#397e14',
    950: '#000000',
  },
}
SCSS
$custom: #397e14;
$custom-light: #78a45c;
$custom-dark: #000000;
JSON
{
  "hex": "#397e14",
  "rgb": {
    "r": 57,
    "g": 126,
    "b": 20
  },
  "hsl": {
    "h": 99.057,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52774,
    "c": 0.15156,
    "h": 137.6
  },
  "luminance": 0.15842
}

Semantic roles & 50–950 ramp

primary
#397E14
secondary
#893AB3
accent
#38EFAF
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #397E14

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

Preview Lab → · Contrast checker → · Palette generator →

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