#397D13#397D13

#397D13 is a mid, vivid yellow-green. Relative luminance 0.156; OKLCH L 52.5% C 0.151 H 137.4°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#397D13
RGBrgb(57, 125, 19)
HSLhsl(98, 74%, 28%)
HSVhsv(98, 85%, 49%)
CMYKcmyk(54.4%, 0%, 84.8%, 51%)
CIE-LABlab(46.42, -40.01, 46.28)
CIE-LCHlch(46.42, 61.18, 130.84°)
OKLaboklab(52.49% -0.111 0.102)
OKLCHoklch(52.49% 0.151 137.4)
XYZxyz(9.1382, 15.5834, 3.1423)
Luminance0.1558 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397D13 #57137D
analogous
#6E7D13 #397D13 #137D22
triadic
#397D13 #13397D #7D1339
tetradic
#397D13 #136E7D #57137D #7D2213
square
#397D13 #136E7D #57137D #7D2213
split-complementary
#397D13 #22137D #7D136E
monochromatic
#0C1B04 #21480B #397D13 #51B21B #6CDF2C

Accessibility & contrast

On white

5.10
#397D13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#397D13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397D13
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397D13#FFFFFF#000000##FFFFFF
##397D131.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#796C20
Tritanopia (blue-blind)
#34786A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #397d13;
/* rgb */ color: rgb(57, 125, 19);
/* oklch */ color: oklch(52.5% 0.151 137.4);
Tailwind
colors: {
  custom: {
    50: '#77a35c',
    500: '#397d13',
    950: '#000000',
  },
}
SCSS
$custom: #397d13;
$custom-light: #77a35c;
$custom-dark: #000000;
JSON
{
  "hex": "#397d13",
  "rgb": {
    "r": 57,
    "g": 125,
    "b": 19
  },
  "hsl": {
    "h": 98.491,
    "s": 73.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.5249,
    "c": 0.15079,
    "h": 137.4
  },
  "luminance": 0.15584
}

Semantic roles & 50–950 ramp

primary
#397D13
secondary
#8739B3
accent
#38F0AE
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #397D13

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

Preview Lab → · Contrast checker → · Palette generator →

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