#387814#387814

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

Color values

HEX#387814
RGBrgb(56, 120, 20)
HSLhsl(98, 71%, 27%)
HSVhsv(98, 83%, 47%)
CMYKcmyk(53.3%, 0%, 83.3%, 52.9%)
CIE-LABlab(44.69, -38.25, 44.37)
CIE-LCHlch(44.69, 58.58, 130.76°)
OKLaboklab(51.05% -0.1062 0.0982)
OKLCHoklch(51.05% 0.145 137.2)
XYZxyz(8.4734, 14.3236, 2.9799)
Luminance0.1432 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387814 #541478
analogous
#6A7814 #387814 #147822
triadic
#387814 #143878 #781438
tetradic
#387814 #146A78 #541478 #782214
square
#387814 #146A78 #541478 #782214
split-complementary
#387814 #221478 #78146A
monochromatic
#0C1A04 #20440B #387814 #50AC1D #6ADC2B

Accessibility & contrast

On white

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

On black

3.86
#387814 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##387814#FFFFFF#000000##FFFFFF
##3878141.005.433.865.43
#FFFFFF5.431.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#746820
Tritanopia (blue-blind)
#347366
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #387814;
/* rgb */ color: rgb(56, 120, 20);
/* oklch */ color: oklch(51.1% 0.145 137.2);
Tailwind
colors: {
  custom: {
    50: '#769f5b',
    500: '#387814',
    950: '#000000',
  },
}
SCSS
$custom: #387814;
$custom-light: #769f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#387814",
  "rgb": {
    "r": 56,
    "g": 120,
    "b": 20
  },
  "hsl": {
    "h": 98.4,
    "s": 71.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.51055,
    "c": 0.14464,
    "h": 137.2
  },
  "luminance": 0.14324
}

Semantic roles & 50–950 ramp

primary
#387814
secondary
#843AAE
accent
#3AEEAD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #387814

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

Preview Lab → · Contrast checker → · Palette generator →

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