#387316#387316

#387316 is a mid, vivid yellow-green. Relative luminance 0.132; OKLCH L 49.7% C 0.137 H 136.9°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#387316
RGBrgb(56, 115, 22)
HSLhsl(98, 68%, 27%)
HSVhsv(98, 81%, 45%)
CMYKcmyk(51.3%, 0%, 80.9%, 54.9%)
CIE-LABlab(43.00, -36.06, 42.12)
CIE-LCHlch(43.00, 55.45, 130.57°)
OKLaboklab(49.67% -0.1002 0.0938)
OKLCHoklch(49.67% 0.137 136.9)
XYZxyz(7.9062, 13.1596, 2.8823)
Luminance0.1316 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387316 #511673
analogous
#677316 #387316 #167323
triadic
#387316 #163873 #731638
tetradic
#387316 #166773 #511673 #732316
square
#387316 #166773 #511673 #732316
split-complementary
#387316 #231673 #731667
monochromatic
#0D1A05 #1F400C #387316 #51A620 #6BD72D

Accessibility & contrast

On white

5.78
#387316 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#387316 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387316
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387316#FFFFFF#000000##FFFFFF
##3873161.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776900
Deuteranopia (green-blind)
#6F6420
Tritanopia (blue-blind)
#356F62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #387316;
/* rgb */ color: rgb(56, 115, 22);
/* oklch */ color: oklch(49.7% 0.137 136.9);
Tailwind
colors: {
  custom: {
    50: '#759c5b',
    500: '#387316',
    950: '#000000',
  },
}
SCSS
$custom: #387316;
$custom-light: #759c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#387316",
  "rgb": {
    "r": 56,
    "g": 115,
    "b": 22
  },
  "hsl": {
    "h": 98.065,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.49666,
    "c": 0.13724,
    "h": 136.9
  },
  "luminance": 0.1316
}

Semantic roles & 50–950 ramp

primary
#387316
secondary
#813CA9
accent
#3DEBAB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #387316

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

Preview Lab → · Contrast checker → · Palette generator →

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