#397E13#397E13

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

Color values

HEX#397E13
RGBrgb(57, 126, 19)
HSLhsl(99, 74%, 28%)
HSVhsv(99, 85%, 49%)
CMYKcmyk(54.8%, 0%, 84.9%, 50.6%)
CIE-LABlab(46.76, -40.41, 46.59)
CIE-LCHlch(46.76, 61.67, 130.94°)
OKLaboklab(52.77% -0.1121 0.1027)
OKLCHoklch(52.77% 0.152 137.5)
XYZxyz(9.2654, 15.8379, 3.1847)
Luminance0.1584 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397E13 #58137E
analogous
#6E7E13 #397E13 #137E23
triadic
#397E13 #13397E #7E1339
tetradic
#397E13 #136E7E #58137E #7E2313
square
#397E13 #136E7E #58137E #7E2313
split-complementary
#397E13 #23137E #7E136E
monochromatic
#0C1B04 #21490B #397E13 #51B31B #6CDF2C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #397e13;
/* rgb */ color: rgb(57, 126, 19);
/* oklch */ color: oklch(52.8% 0.152 137.5);
Tailwind
colors: {
  custom: {
    50: '#78a45c',
    500: '#397e13',
    950: '#000000',
  },
}
SCSS
$custom: #397e13;
$custom-light: #78a45c;
$custom-dark: #000000;
JSON
{
  "hex": "#397e13",
  "rgb": {
    "r": 57,
    "g": 126,
    "b": 19
  },
  "hsl": {
    "h": 98.692,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52768,
    "c": 0.15202,
    "h": 137.5
  },
  "luminance": 0.15839
}

Semantic roles & 50–950 ramp

primary
#397E13
secondary
#8839B4
accent
#37F0AF
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #397E13

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

Preview Lab → · Contrast checker → · Palette generator →

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