#387418#387418

#387418 is a mid, vivid yellow-green. Relative luminance 0.134; OKLCH L 50.0% C 0.137 H 137.2°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#387418
RGBrgb(56, 116, 24)
HSLhsl(99, 66%, 27%)
HSVhsv(99, 79%, 45%)
CMYKcmyk(51.7%, 0%, 79.3%, 54.5%)
CIE-LABlab(43.36, -36.35, 41.76)
CIE-LCHlch(43.36, 55.36, 131.04°)
OKLaboklab(49.96% -0.1008 0.0933)
OKLCHoklch(49.96% 0.137 137.2)
XYZxyz(8.0409, 13.3969, 3.0261)
Luminance0.1340 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387418 #541874
analogous
#667418 #387418 #187426
triadic
#387418 #183874 #741838
tetradic
#387418 #186674 #541874 #742618
square
#387418 #186674 #541874 #742618
split-complementary
#387418 #261874 #741866
monochromatic
#0C1905 #20410E #387418 #50A722 #6AD532

Accessibility & contrast

On white

5.71
#387418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#387418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387418
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387418#FFFFFF#000000##FFFFFF
##3874181.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A03
Deuteranopia (green-blind)
#706522
Tritanopia (blue-blind)
#347063
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #387418;
/* rgb */ color: rgb(56, 116, 24);
/* oklch */ color: oklch(50.0% 0.137 137.2);
Tailwind
colors: {
  custom: {
    50: '#759c5c',
    500: '#387418',
    950: '#000000',
  },
}
SCSS
$custom: #387418;
$custom-light: #759c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#387418",
  "rgb": {
    "r": 56,
    "g": 116,
    "b": 24
  },
  "hsl": {
    "h": 99.13,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.4996,
    "c": 0.13741,
    "h": 137.2
  },
  "luminance": 0.13397
}

Semantic roles & 50–950 ramp

primary
#387418
secondary
#843FA9
accent
#3FE9AE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #387418

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

Preview Lab → · Contrast checker → · Palette generator →

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