#387E0F#387E0F

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

Color values

HEX#387E0F
RGBrgb(56, 126, 15)
HSLhsl(98, 79%, 28%)
HSVhsv(98, 88%, 49%)
CMYKcmyk(55.6%, 0%, 88.1%, 50.6%)
CIE-LABlab(46.71, -40.90, 47.59)
CIE-LCHlch(46.71, 62.75, 130.67°)
OKLaboklab(52.71% -0.1136 0.1042)
OKLCHoklch(52.71% 0.154 137.5)
XYZxyz(9.1777, 15.7962, 3.0172)
Luminance0.1580 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387E0F #550F7E
analogous
#6F7E0F #387E0F #0F7E1E
triadic
#387E0F #0F387E #7E0F38
tetradic
#387E0F #0F6F7E #550F7E #7E1E0F
square
#387E0F #0F6F7E #550F7E #7E1E0F
split-complementary
#387E0F #1E0F7E #7E0F6F
monochromatic
#0C1B03 #204708 #387E0F #50B516 #6AE523

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##387E0F#FFFFFF#000000##FFFFFF
##387E0F1.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)
#7A6D1E
Tritanopia (blue-blind)
#33796B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #387e0f;
/* rgb */ color: rgb(56, 126, 15);
/* oklch */ color: oklch(52.7% 0.154 137.5);
Tailwind
colors: {
  custom: {
    50: '#77a45a',
    500: '#387e0f',
    950: '#000000',
  },
}
SCSS
$custom: #387e0f;
$custom-light: #77a45a;
$custom-dark: #000000;
JSON
{
  "hex": "#387e0f",
  "rgb": {
    "r": 56,
    "g": 126,
    "b": 15
  },
  "hsl": {
    "h": 97.838,
    "s": 78.723,
    "l": 27.647
  },
  "oklch": {
    "l": 0.52707,
    "c": 0.15413,
    "h": 137.5
  },
  "luminance": 0.15797
}

Semantic roles & 50–950 ramp

primary
#387E0F
secondary
#8534B5
accent
#33F5AD
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #387E0F

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

Preview Lab → · Contrast checker → · Palette generator →

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