#397D11#397D11

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

Color values

HEX#397D11
RGBrgb(57, 125, 17)
HSLhsl(98, 76%, 28%)
HSVhsv(98, 86%, 49%)
CMYKcmyk(54.4%, 0%, 86.4%, 51%)
CIE-LABlab(46.41, -40.11, 46.83)
CIE-LCHlch(46.41, 61.66, 130.58°)
OKLaboklab(52.48% -0.1114 0.1029)
OKLCHoklch(52.48% 0.152 137.3)
XYZxyz(9.1218, 15.5769, 3.0562)
Luminance0.1558 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397D11 #55117D
analogous
#6F7D11 #397D11 #117D1F
triadic
#397D11 #11397D #7D1139
tetradic
#397D11 #116F7D #55117D #7D1F11
square
#397D11 #116F7D #55117D #7D1F11
split-complementary
#397D11 #1F117D #7D116F
monochromatic
#0C1B04 #20470A #397D11 #52B318 #6CE227

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #397d11;
/* rgb */ color: rgb(57, 125, 17);
/* oklch */ color: oklch(52.5% 0.152 137.3);
Tailwind
colors: {
  custom: {
    50: '#78a35b',
    500: '#397d11',
    950: '#000000',
  },
}
SCSS
$custom: #397d11;
$custom-light: #78a35b;
$custom-dark: #000000;
JSON
{
  "hex": "#397d11",
  "rgb": {
    "r": 57,
    "g": 125,
    "b": 17
  },
  "hsl": {
    "h": 97.778,
    "s": 76.056,
    "l": 27.843
  },
  "oklch": {
    "l": 0.5248,
    "c": 0.15165,
    "h": 137.3
  },
  "luminance": 0.15578
}

Semantic roles & 50–950 ramp

primary
#397D11
secondary
#8537B3
accent
#35F3AC
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #397D11

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

Preview Lab → · Contrast checker → · Palette generator →

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