#387F11#387F11

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

Color values

HEX#387F11
RGBrgb(56, 127, 17)
HSLhsl(99, 76%, 28%)
HSVhsv(99, 87%, 50%)
CMYKcmyk(55.9%, 0%, 86.6%, 50.2%)
CIE-LABlab(47.05, -41.20, 47.39)
CIE-LCHlch(47.05, 62.79, 131.01°)
OKLaboklab(53% -0.1143 0.1041)
OKLCHoklch(53% 0.155 137.7)
XYZxyz(9.3211, 16.0592, 3.1388)
Luminance0.1606 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387F11 #58117F
analogous
#6F7F11 #387F11 #117F21
triadic
#387F11 #11387F #7F1138
tetradic
#387F11 #116F7F #58117F #7F2111
square
#387F11 #116F7F #58117F #7F2111
split-complementary
#387F11 #21117F #7F116F
monochromatic
#0C1B04 #20490A #387F11 #50B518 #6AE228

Accessibility & contrast

On white

4.99
#387F11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#387F11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387F11
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387F11#FFFFFF#000000##FFFFFF
##387F111.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #387f11;
/* rgb */ color: rgb(56, 127, 17);
/* oklch */ color: oklch(53.0% 0.155 137.7);
Tailwind
colors: {
  custom: {
    50: '#77a55b',
    500: '#387f11',
    950: '#000000',
  },
}
SCSS
$custom: #387f11;
$custom-light: #77a55b;
$custom-dark: #000000;
JSON
{
  "hex": "#387f11",
  "rgb": {
    "r": 56,
    "g": 127,
    "b": 17
  },
  "hsl": {
    "h": 98.727,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52995,
    "c": 0.15456,
    "h": 137.7
  },
  "luminance": 0.1606
}

Semantic roles & 50–950 ramp

primary
#387F11
secondary
#8837B5
accent
#35F3B0
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #387F11

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

Preview Lab → · Contrast checker → · Palette generator →

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