#397D14#397D14

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

Color values

HEX#397D14
RGBrgb(57, 125, 20)
HSLhsl(99, 72%, 28%)
HSVhsv(99, 84%, 49%)
CMYKcmyk(54.4%, 0%, 84%, 51%)
CIE-LABlab(46.43, -39.96, 45.99)
CIE-LCHlch(46.43, 60.92, 130.98°)
OKLaboklab(52.5% -0.1108 0.1016)
OKLCHoklch(52.5% 0.15 137.5)
XYZxyz(9.1469, 15.5869, 3.1883)
Luminance0.1559 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397D14 #58147D
analogous
#6D7D14 #397D14 #147D23
triadic
#397D14 #14397D #7D1439
tetradic
#397D14 #146D7D #58147D #7D2314
square
#397D14 #146D7D #58147D #7D2314
split-complementary
#397D14 #23147D #7D146D
monochromatic
#0C1A04 #21480C #397D14 #51B21C #6CDE2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397D14#FFFFFF#000000##FFFFFF
##397D141.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: #397d14;
/* rgb */ color: rgb(57, 125, 20);
/* oklch */ color: oklch(52.5% 0.150 137.5);
Tailwind
colors: {
  custom: {
    50: '#77a35c',
    500: '#397d14',
    950: '#000000',
  },
}
SCSS
$custom: #397d14;
$custom-light: #77a35c;
$custom-dark: #000000;
JSON
{
  "hex": "#397d14",
  "rgb": {
    "r": 57,
    "g": 125,
    "b": 20
  },
  "hsl": {
    "h": 98.857,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52495,
    "c": 0.15033,
    "h": 137.5
  },
  "luminance": 0.15588
}

Semantic roles & 50–950 ramp

primary
#397D14
secondary
#883AB2
accent
#39EFAF
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #397D14

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

Preview Lab → · Contrast checker → · Palette generator →

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