#387214#387214

#387214 is a mid, vivid yellow-green. Relative luminance 0.129; OKLCH L 49.4% C 0.137 H 136.6°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#387214
RGBrgb(56, 114, 20)
HSLhsl(97, 70%, 26%)
HSVhsv(97, 82%, 45%)
CMYKcmyk(50.9%, 0%, 82.5%, 55.3%)
CIE-LABlab(42.65, -35.76, 42.46)
CIE-LCHlch(42.65, 55.52, 130.10°)
OKLaboklab(49.37% -0.0995 0.0942)
OKLCHoklch(49.37% 0.137 136.6)
XYZxyz(7.7742, 12.9254, 2.7469)
Luminance0.1293 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387214 #4E1472
analogous
#677214 #387214 #14721F
triadic
#387214 #143872 #721438
tetradic
#387214 #146772 #4E1472 #721F14
square
#387214 #146772 #4E1472 #721F14
split-complementary
#387214 #1F1472 #721467
monochromatic
#0D1A05 #1E3E0B #387214 #52A61D #6BD927

Accessibility & contrast

On white

5.86
#387214 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#387214 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387214
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387214#FFFFFF#000000##FFFFFF
##3872141.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#6F631F
Tritanopia (blue-blind)
#356E61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #387214;
/* rgb */ color: rgb(56, 114, 20);
/* oklch */ color: oklch(49.4% 0.137 136.6);
Tailwind
colors: {
  custom: {
    50: '#759b5a',
    500: '#387214',
    950: '#000000',
  },
}
SCSS
$custom: #387214;
$custom-light: #759b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#387214",
  "rgb": {
    "r": 56,
    "g": 114,
    "b": 20
  },
  "hsl": {
    "h": 97.021,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49373,
    "c": 0.13703,
    "h": 136.6
  },
  "luminance": 0.12926
}

Semantic roles & 50–950 ramp

primary
#387214
secondary
#7E39A8
accent
#3BEDA9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #387214

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

Preview Lab → · Contrast checker → · Palette generator →

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