#397E11#397E11

#397E11 is a mid, vivid yellow-green. Relative luminance 0.158; OKLCH L 52.8% C 0.153 H 137.4°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#397E11
RGBrgb(57, 126, 17)
HSLhsl(98, 76%, 28%)
HSVhsv(98, 87%, 49%)
CMYKcmyk(54.8%, 0%, 86.5%, 50.6%)
CIE-LABlab(46.75, -40.50, 47.13)
CIE-LCHlch(46.75, 62.15, 130.67°)
OKLaboklab(52.76% -0.1125 0.1035)
OKLCHoklch(52.76% 0.153 137.4)
XYZxyz(9.2491, 15.8313, 3.0986)
Luminance0.1583 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397E11 #56117E
analogous
#6F7E11 #397E11 #117E20
triadic
#397E11 #11397E #7E1139
tetradic
#397E11 #116F7E #56117E #7E2011
square
#397E11 #116F7E #56117E #7E2011
split-complementary
#397E11 #20117E #7E116F
monochromatic
#0C1B04 #21480A #397E11 #51B418 #6CE227

Accessibility & contrast

On white

5.04
#397E11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#397E11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397E11
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397E11#FFFFFF#000000##FFFFFF
##397E111.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#7A6D1F
Tritanopia (blue-blind)
#34796B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #397e11;
/* rgb */ color: rgb(57, 126, 17);
/* oklch */ color: oklch(52.8% 0.153 137.4);
Tailwind
colors: {
  custom: {
    50: '#78a45b',
    500: '#397e11',
    950: '#000000',
  },
}
SCSS
$custom: #397e11;
$custom-light: #78a45b;
$custom-dark: #000000;
JSON
{
  "hex": "#397e11",
  "rgb": {
    "r": 57,
    "g": 126,
    "b": 17
  },
  "hsl": {
    "h": 97.982,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52759,
    "c": 0.15286,
    "h": 137.4
  },
  "luminance": 0.15832
}

Semantic roles & 50–950 ramp

primary
#397E11
secondary
#8637B4
accent
#35F3AD
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #397E11

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

Preview Lab → · Contrast checker → · Palette generator →

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