#387D11#387D11

#387D11 is a mid, vivid yellow-green. Relative luminance 0.155; OKLCH L 52.4% C 0.152 H 137.5°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#387D11
RGBrgb(56, 125, 17)
HSLhsl(98, 76%, 28%)
HSVhsv(98, 86%, 49%)
CMYKcmyk(55.2%, 0%, 86.4%, 51%)
CIE-LABlab(46.38, -40.41, 46.78)
CIE-LCHlch(46.38, 61.82, 130.82°)
OKLaboklab(52.44% -0.1122 0.1028)
OKLCHoklch(52.44% 0.152 137.5)
XYZxyz(9.0654, 15.5477, 3.0535)
Luminance0.1555 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387D11 #56117D
analogous
#6E7D11 #387D11 #117D20
triadic
#387D11 #11387D #7D1138
tetradic
#387D11 #116E7D #56117D #7D2011
square
#387D11 #116E7D #56117D #7D2011
split-complementary
#387D11 #20117D #7D116E
monochromatic
#0C1B04 #20470A #387D11 #50B318 #6AE227

Accessibility & contrast

On white

5.11
#387D11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#387D11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387D11
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387D11#FFFFFF#000000##FFFFFF
##387D111.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#796C1F
Tritanopia (blue-blind)
#33786A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #387d11;
/* rgb */ color: rgb(56, 125, 17);
/* oklch */ color: oklch(52.4% 0.152 137.5);
Tailwind
colors: {
  custom: {
    50: '#77a35b',
    500: '#387d11',
    950: '#000000',
  },
}
SCSS
$custom: #387d11;
$custom-light: #77a35b;
$custom-dark: #000000;
JSON
{
  "hex": "#387d11",
  "rgb": {
    "r": 56,
    "g": 125,
    "b": 17
  },
  "hsl": {
    "h": 98.333,
    "s": 76.056,
    "l": 27.843
  },
  "oklch": {
    "l": 0.52437,
    "c": 0.15214,
    "h": 137.5
  },
  "luminance": 0.15548
}

Semantic roles & 50–950 ramp

primary
#387D11
secondary
#8637B3
accent
#35F3AE
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #387D11

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

Preview Lab → · Contrast checker → · Palette generator →

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