#387718#387718

#387718 is a mid, vivid yellow-green. Relative luminance 0.141; OKLCH L 50.8% C 0.141 H 137.5°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#387718
RGBrgb(56, 119, 24)
HSLhsl(100, 66%, 28%)
HSVhsv(100, 80%, 47%)
CMYKcmyk(52.9%, 0%, 79.8%, 53.3%)
CIE-LABlab(44.38, -37.59, 42.74)
CIE-LCHlch(44.38, 56.92, 131.33°)
OKLaboklab(50.8% -0.1042 0.0954)
OKLCHoklch(50.8% 0.141 137.5)
XYZxyz(8.3923, 14.0997, 3.1433)
Luminance0.1410 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387718 #571877
analogous
#687718 #387718 #187727
triadic
#387718 #183877 #771838
tetradic
#387718 #186877 #571877 #772718
square
#387718 #186877 #571877 #772718
split-complementary
#387718 #271877 #771868
monochromatic
#0C1905 #20440E #387718 #50AA22 #6AD633

Accessibility & contrast

On white

5.50
#387718 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#387718 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387718
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387718#FFFFFF#000000##FFFFFF
##3877181.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C02
Deuteranopia (green-blind)
#736722
Tritanopia (blue-blind)
#347365
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #387718;
/* rgb */ color: rgb(56, 119, 24);
/* oklch */ color: oklch(50.8% 0.141 137.5);
Tailwind
colors: {
  custom: {
    50: '#769f5d',
    500: '#387718',
    950: '#000000',
  },
}
SCSS
$custom: #387718;
$custom-light: #769f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#387718",
  "rgb": {
    "r": 56,
    "g": 119,
    "b": 24
  },
  "hsl": {
    "h": 99.789,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.508,
    "c": 0.14127,
    "h": 137.5
  },
  "luminance": 0.141
}

Semantic roles & 50–950 ramp

primary
#387718
secondary
#873FAC
accent
#3EE9B0
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #387718

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

Preview Lab → · Contrast checker → · Palette generator →

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