#387815#387815

#387815 is a mid, vivid yellow-green. Relative luminance 0.143; OKLCH L 51.1% C 0.144 H 137.3°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#387815
RGBrgb(56, 120, 21)
HSLhsl(99, 70%, 28%)
HSVhsv(99, 83%, 47%)
CMYKcmyk(53.3%, 0%, 82.5%, 52.9%)
CIE-LABlab(44.70, -38.19, 44.06)
CIE-LCHlch(44.70, 58.31, 130.92°)
OKLaboklab(51.06% -0.106 0.0977)
OKLCHoklch(51.06% 0.144 137.3)
XYZxyz(8.4824, 14.3272, 3.0278)
Luminance0.1433 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387815 #551578
analogous
#697815 #387815 #157824
triadic
#387815 #153878 #781538
tetradic
#387815 #156978 #551578 #782415
square
#387815 #156978 #551578 #782415
split-complementary
#387815 #241578 #781569
monochromatic
#0C1A05 #20440C #387815 #50AC1E #6ADA2D

Accessibility & contrast

On white

5.43
#387815 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#387815 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387815
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387815#FFFFFF#000000##FFFFFF
##3878151.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#746821
Tritanopia (blue-blind)
#347366
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #387815;
/* rgb */ color: rgb(56, 120, 21);
/* oklch */ color: oklch(51.1% 0.144 137.3);
Tailwind
colors: {
  custom: {
    50: '#769f5c',
    500: '#387815',
    950: '#000000',
  },
}
SCSS
$custom: #387815;
$custom-light: #769f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#387815",
  "rgb": {
    "r": 56,
    "g": 120,
    "b": 21
  },
  "hsl": {
    "h": 98.788,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.51061,
    "c": 0.14414,
    "h": 137.3
  },
  "luminance": 0.14328
}

Semantic roles & 50–950 ramp

primary
#387815
secondary
#853BAE
accent
#3BEDAE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #387815

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

Preview Lab → · Contrast checker → · Palette generator →

#387815 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva