#387816#387816

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

Color values

HEX#387816
RGBrgb(56, 120, 22)
HSLhsl(99, 69%, 28%)
HSVhsv(99, 82%, 47%)
CMYKcmyk(53.3%, 0%, 81.7%, 52.9%)
CIE-LABlab(44.70, -38.13, 43.74)
CIE-LCHlch(44.70, 58.03, 131.08°)
OKLaboklab(51.07% -0.1058 0.0972)
OKLCHoklch(51.07% 0.144 137.4)
XYZxyz(8.4919, 14.3310, 3.0776)
Luminance0.1433 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387816 #561678
analogous
#697816 #387816 #167825
triadic
#387816 #163878 #781638
tetradic
#387816 #166978 #561678 #782516
square
#387816 #166978 #561678 #782516
split-complementary
#387816 #251678 #781669
monochromatic
#0C1A05 #20440D #387816 #50AC1F #6AD92F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##387816#FFFFFF#000000##FFFFFF
##3878161.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: #387816;
/* rgb */ color: rgb(56, 120, 22);
/* oklch */ color: oklch(51.1% 0.144 137.4);
Tailwind
colors: {
  custom: {
    50: '#769f5c',
    500: '#387816',
    950: '#000000',
  },
}
SCSS
$custom: #387816;
$custom-light: #769f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#387816",
  "rgb": {
    "r": 56,
    "g": 120,
    "b": 22
  },
  "hsl": {
    "h": 99.184,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51067,
    "c": 0.14362,
    "h": 137.4
  },
  "luminance": 0.14332
}

Semantic roles & 50–950 ramp

primary
#387816
secondary
#863CAD
accent
#3CECAF
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #387816

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

Preview Lab → · Contrast checker → · Palette generator →

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