#387314#387314

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

Color values

HEX#387314
RGBrgb(56, 115, 20)
HSLhsl(97, 70%, 26%)
HSVhsv(97, 83%, 45%)
CMYKcmyk(51.3%, 0%, 82.6%, 54.9%)
CIE-LABlab(42.99, -36.18, 42.78)
CIE-LCHlch(42.99, 56.03, 130.22°)
OKLaboklab(49.65% -0.1006 0.0949)
OKLCHoklch(49.65% 0.138 136.7)
XYZxyz(7.8877, 13.1522, 2.7847)
Luminance0.1315 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387314 #4F1473
analogous
#687314 #387314 #147320
triadic
#387314 #143873 #731438
tetradic
#387314 #146873 #4F1473 #732014
square
#387314 #146873 #4F1473 #732014
split-complementary
#387314 #201473 #731468
monochromatic
#0D1A05 #1F3F0B #387314 #51A71D #6BDA28

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##387314#FFFFFF#000000##FFFFFF
##3873141.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)
#6F641F
Tritanopia (blue-blind)
#356F62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #387314;
/* rgb */ color: rgb(56, 115, 20);
/* oklch */ color: oklch(49.7% 0.138 136.7);
Tailwind
colors: {
  custom: {
    50: '#759c5b',
    500: '#387314',
    950: '#000000',
  },
}
SCSS
$custom: #387314;
$custom-light: #759c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#387314",
  "rgb": {
    "r": 56,
    "g": 115,
    "b": 20
  },
  "hsl": {
    "h": 97.263,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49654,
    "c": 0.13831,
    "h": 136.7
  },
  "luminance": 0.13153
}

Semantic roles & 50–950 ramp

primary
#387314
secondary
#7F3AA9
accent
#3BEDAA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #387314

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

Preview Lab → · Contrast checker → · Palette generator →

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