#387B0E#387B0E

#387B0E is a mid, vivid yellow-green. Relative luminance 0.150; OKLCH L 51.9% C 0.151 H 137.1°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#387B0E
RGBrgb(56, 123, 14)
HSLhsl(97, 80%, 27%)
HSVhsv(97, 89%, 48%)
CMYKcmyk(54.5%, 0%, 88.6%, 51.8%)
CIE-LABlab(45.69, -39.75, 46.94)
CIE-LCHlch(45.69, 61.51, 130.26°)
OKLaboklab(51.86% -0.1105 0.1027)
OKLCHoklch(51.86% 0.151 137.1)
XYZxyz(8.7928, 15.0377, 2.8546)
Luminance0.1504 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387B0E #510E7B
analogous
#6F7B0E #387B0E #0E7B1B
triadic
#387B0E #0E387B #7B0E38
tetradic
#387B0E #0E6F7B #510E7B #7B1B0E
square
#387B0E #0E6F7B #510E7B #7B1B0E
split-complementary
#387B0E #1B0E7B #7B0E6F
monochromatic
#0D1B03 #1F4408 #387B0E #51B214 #6BE51E

Accessibility & contrast

On white

5.24
#387B0E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#387B0E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387B0E
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387B0E#FFFFFF#000000##FFFFFF
##387B0E1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#776A1D
Tritanopia (blue-blind)
#337668
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #387b0e;
/* rgb */ color: rgb(56, 123, 14);
/* oklch */ color: oklch(51.9% 0.151 137.1);
Tailwind
colors: {
  custom: {
    50: '#77a25a',
    500: '#387b0e',
    950: '#000000',
  },
}
SCSS
$custom: #387b0e;
$custom-light: #77a25a;
$custom-dark: #000000;
JSON
{
  "hex": "#387b0e",
  "rgb": {
    "r": 56,
    "g": 123,
    "b": 14
  },
  "hsl": {
    "h": 96.881,
    "s": 79.562,
    "l": 26.863
  },
  "oklch": {
    "l": 0.51864,
    "c": 0.15088,
    "h": 137.1
  },
  "luminance": 0.15038
}

Semantic roles & 50–950 ramp

primary
#387B0E
secondary
#8133B2
accent
#32F6AA
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #387B0E

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

Preview Lab → · Contrast checker → · Palette generator →

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