#387E11#387E11

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

Color values

HEX#387E11
RGBrgb(56, 126, 17)
HSLhsl(99, 76%, 28%)
HSVhsv(99, 87%, 49%)
CMYKcmyk(55.6%, 0%, 86.5%, 50.6%)
CIE-LABlab(46.71, -40.81, 47.08)
CIE-LCHlch(46.71, 62.31, 130.92°)
OKLaboklab(52.72% -0.1132 0.1034)
OKLCHoklch(52.72% 0.153 137.6)
XYZxyz(9.1926, 15.8022, 3.0959)
Luminance0.1580 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387E11 #57117E
analogous
#6E7E11 #387E11 #117E20
triadic
#387E11 #11387E #7E1138
tetradic
#387E11 #116E7E #57117E #7E2011
square
#387E11 #116E7E #57117E #7E2011
split-complementary
#387E11 #20117E #7E116E
monochromatic
#0C1B04 #20480A #387E11 #50B418 #6AE227

Accessibility & contrast

On white

5.05
#387E11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#387E11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387E11
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387E11#FFFFFF#000000##FFFFFF
##387E111.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#796D1F
Tritanopia (blue-blind)
#33796B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #387e11;
/* rgb */ color: rgb(56, 126, 17);
/* oklch */ color: oklch(52.7% 0.153 137.6);
Tailwind
colors: {
  custom: {
    50: '#77a45b',
    500: '#387e11',
    950: '#000000',
  },
}
SCSS
$custom: #387e11;
$custom-light: #77a45b;
$custom-dark: #000000;
JSON
{
  "hex": "#387e11",
  "rgb": {
    "r": 56,
    "g": 126,
    "b": 17
  },
  "hsl": {
    "h": 98.532,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52716,
    "c": 0.15335,
    "h": 137.6
  },
  "luminance": 0.15803
}

Semantic roles & 50–950 ramp

primary
#387E11
secondary
#8737B4
accent
#35F3AF
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #387E11

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

Preview Lab → · Contrast checker → · Palette generator →

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