#397A13#397A13

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

Color values

HEX#397A13
RGBrgb(57, 122, 19)
HSLhsl(98, 73%, 28%)
HSVhsv(98, 84%, 48%)
CMYKcmyk(53.3%, 0%, 84.4%, 52.2%)
CIE-LABlab(45.41, -38.80, 45.35)
CIE-LCHlch(45.41, 59.68, 130.55°)
OKLaboklab(51.65% -0.1078 0.1001)
OKLCHoklch(51.65% 0.147 137.1)
XYZxyz(8.7641, 14.8353, 3.0176)
Luminance0.1484 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397A13 #54137A
analogous
#6D7A13 #397A13 #137A20
triadic
#397A13 #13397A #7A1339
tetradic
#397A13 #136D7A #54137A #7A2013
square
#397A13 #136D7A #54137A #7A2013
split-complementary
#397A13 #20137A #7A136D
monochromatic
#0C1A04 #20450B #397A13 #52AF1B #6CDE2A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397A13#FFFFFF#000000##FFFFFF
##397A131.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: #397a13;
/* rgb */ color: rgb(57, 122, 19);
/* oklch */ color: oklch(51.7% 0.147 137.1);
Tailwind
colors: {
  custom: {
    50: '#77a15b',
    500: '#397a13',
    950: '#000000',
  },
}
SCSS
$custom: #397a13;
$custom-light: #77a15b;
$custom-dark: #000000;
JSON
{
  "hex": "#397a13",
  "rgb": {
    "r": 57,
    "g": 122,
    "b": 19
  },
  "hsl": {
    "h": 97.864,
    "s": 73.05,
    "l": 27.647
  },
  "oklch": {
    "l": 0.51653,
    "c": 0.14709,
    "h": 137.1
  },
  "luminance": 0.14836
}

Semantic roles & 50–950 ramp

primary
#397A13
secondary
#8439B0
accent
#38F0AC
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #397A13

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

Preview Lab → · Contrast checker → · Palette generator →

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