#387F0E#387F0E

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

Color values

HEX#387F0E
RGBrgb(56, 127, 14)
HSLhsl(98, 80%, 28%)
HSVhsv(98, 89%, 50%)
CMYKcmyk(55.9%, 0%, 89%, 50.2%)
CIE-LABlab(47.04, -41.33, 48.13)
CIE-LCHlch(47.04, 63.44, 130.66°)
OKLaboklab(52.98% -0.1148 0.1052)
OKLCHoklch(52.98% 0.156 137.5)
XYZxyz(9.2992, 16.0505, 3.0234)
Luminance0.1605 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387F0E #550E7F
analogous
#717F0E #387F0E #0E7F1C
triadic
#387F0E #0E387F #7F0E38
tetradic
#387F0E #0E717F #550E7F #7F1C0E
square
#387F0E #0E717F #550E7F #7F1C0E
split-complementary
#387F0E #1C0E7F #7F0E71
monochromatic
#0C1C03 #204808 #387F0E #50B614 #6AE721

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##387F0E#FFFFFF#000000##FFFFFF
##387F0E1.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)
#7A6D1E
Tritanopia (blue-blind)
#337A6B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #387f0e;
/* rgb */ color: rgb(56, 127, 14);
/* oklch */ color: oklch(53.0% 0.156 137.5);
Tailwind
colors: {
  custom: {
    50: '#77a55a',
    500: '#387f0e',
    950: '#000000',
  },
}
SCSS
$custom: #387f0e;
$custom-light: #77a55a;
$custom-dark: #000000;
JSON
{
  "hex": "#387f0e",
  "rgb": {
    "r": 56,
    "g": 127,
    "b": 14
  },
  "hsl": {
    "h": 97.699,
    "s": 80.142,
    "l": 27.647
  },
  "oklch": {
    "l": 0.52982,
    "c": 0.15568,
    "h": 137.5
  },
  "luminance": 0.16051
}

Semantic roles & 50–950 ramp

primary
#387F0E
secondary
#8533B6
accent
#31F7AD
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #387F0E

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

Preview Lab → · Contrast checker → · Palette generator →

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