#397D15#397D15

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

Color values

HEX#397D15
RGBrgb(57, 125, 21)
HSLhsl(99, 71%, 29%)
HSVhsv(99, 83%, 49%)
CMYKcmyk(54.4%, 0%, 83.2%, 51%)
CIE-LABlab(46.43, -39.90, 45.69)
CIE-LCHlch(46.43, 60.66, 131.13°)
OKLaboklab(52.5% -0.1106 0.1011)
OKLCHoklch(52.5% 0.15 137.6)
XYZxyz(9.1560, 15.5905, 3.2361)
Luminance0.1559 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397D15 #59157D
analogous
#6D7D15 #397D15 #157D25
triadic
#397D15 #15397D #7D1539
tetradic
#397D15 #156D7D #59157D #7D2515
square
#397D15 #156D7D #59157D #7D2515
split-complementary
#397D15 #25157D #7D156D
monochromatic
#0C1A04 #21490C #397D15 #51B11E #6CDC30

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397D15#FFFFFF#000000##FFFFFF
##397D151.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)
#796C21
Tritanopia (blue-blind)
#34786A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #397d15;
/* rgb */ color: rgb(57, 125, 21);
/* oklch */ color: oklch(52.5% 0.150 137.6);
Tailwind
colors: {
  custom: {
    50: '#77a35d',
    500: '#397d15',
    950: '#000000',
  },
}
SCSS
$custom: #397d15;
$custom-light: #77a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#397d15",
  "rgb": {
    "r": 57,
    "g": 125,
    "b": 21
  },
  "hsl": {
    "h": 99.231,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52501,
    "c": 0.14987,
    "h": 137.6
  },
  "luminance": 0.15591
}

Semantic roles & 50–950 ramp

primary
#397D15
secondary
#893CB2
accent
#3AEEB0
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #397D15

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

Preview Lab → · Contrast checker → · Palette generator →

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