#387315#387315

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

Color values

HEX#387315
RGBrgb(56, 115, 21)
HSLhsl(98, 69%, 27%)
HSVhsv(98, 82%, 45%)
CMYKcmyk(51.3%, 0%, 81.7%, 54.9%)
CIE-LABlab(43.00, -36.12, 42.46)
CIE-LCHlch(43.00, 55.75, 130.39°)
OKLaboklab(49.66% -0.1004 0.0943)
OKLCHoklch(49.66% 0.138 136.8)
XYZxyz(7.8967, 13.1558, 2.8325)
Luminance0.1316 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387315 #501573
analogous
#677315 #387315 #157321
triadic
#387315 #153873 #731538
tetradic
#387315 #156773 #501573 #732115
square
#387315 #156773 #501573 #732115
split-complementary
#387315 #211573 #731567
monochromatic
#0D1A05 #1F3F0C #387315 #51A71E #6BD82A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##387315#FFFFFF#000000##FFFFFF
##3873151.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: #387315;
/* rgb */ color: rgb(56, 115, 21);
/* oklch */ color: oklch(49.7% 0.138 136.8);
Tailwind
colors: {
  custom: {
    50: '#759c5b',
    500: '#387315',
    950: '#000000',
  },
}
SCSS
$custom: #387315;
$custom-light: #759c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#387315",
  "rgb": {
    "r": 56,
    "g": 115,
    "b": 21
  },
  "hsl": {
    "h": 97.66,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.4966,
    "c": 0.13779,
    "h": 136.8
  },
  "luminance": 0.13156
}

Semantic roles & 50–950 ramp

primary
#387315
secondary
#803BA9
accent
#3CECAA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #387315

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

Preview Lab → · Contrast checker → · Palette generator →

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