#397F11#397F11

#397F11 is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.0% C 0.154 H 137.5°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#397F11
RGBrgb(57, 127, 17)
HSLhsl(98, 76%, 28%)
HSVhsv(98, 87%, 50%)
CMYKcmyk(55.1%, 0%, 86.6%, 50.2%)
CIE-LABlab(47.09, -40.90, 47.44)
CIE-LCHlch(47.09, 62.63, 130.77°)
OKLaboklab(53.04% -0.1135 0.1042)
OKLCHoklch(53.04% 0.154 137.5)
XYZxyz(9.3776, 16.0883, 3.1414)
Luminance0.1609 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397F11 #57117F
analogous
#707F11 #397F11 #117F20
triadic
#397F11 #11397F #7F1139
tetradic
#397F11 #11707F #57117F #7F2011
square
#397F11 #11707F #57117F #7F2011
split-complementary
#397F11 #20117F #7F1170
monochromatic
#0C1B04 #21490A #397F11 #51B518 #6CE228

Accessibility & contrast

On white

4.98
#397F11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#397F11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397F11
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397F11#FFFFFF#000000##FFFFFF
##397F111.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7B6E1F
Tritanopia (blue-blind)
#347A6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #397f11;
/* rgb */ color: rgb(57, 127, 17);
/* oklch */ color: oklch(53.0% 0.154 137.5);
Tailwind
colors: {
  custom: {
    50: '#78a55b',
    500: '#397f11',
    950: '#000000',
  },
}
SCSS
$custom: #397f11;
$custom-light: #78a55b;
$custom-dark: #000000;
JSON
{
  "hex": "#397f11",
  "rgb": {
    "r": 57,
    "g": 127,
    "b": 17
  },
  "hsl": {
    "h": 98.182,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.53037,
    "c": 0.15407,
    "h": 137.5
  },
  "luminance": 0.16089
}

Semantic roles & 50–950 ramp

primary
#397F11
secondary
#8737B5
accent
#35F3AE
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #397F11

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

Preview Lab → · Contrast checker → · Palette generator →

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