#387618#387618

#387618 is a mid, vivid yellow-green. Relative luminance 0.139; OKLCH L 50.5% C 0.140 H 137.4°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#387618
RGBrgb(56, 118, 24)
HSLhsl(100, 66%, 28%)
HSVhsv(100, 80%, 46%)
CMYKcmyk(52.5%, 0%, 79.7%, 53.7%)
CIE-LABlab(44.04, -37.18, 42.41)
CIE-LCHlch(44.04, 56.40, 131.24°)
OKLaboklab(50.52% -0.1031 0.0947)
OKLCHoklch(50.52% 0.14 137.4)
XYZxyz(8.2739, 13.8630, 3.1038)
Luminance0.1386 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387618 #561876
analogous
#677618 #387618 #187627
triadic
#387618 #183876 #761838
tetradic
#387618 #186776 #561876 #762718
square
#387618 #186776 #561876 #762718
split-complementary
#387618 #271876 #761867
monochromatic
#0C1905 #20430E #387618 #50A922 #6AD533

Accessibility & contrast

On white

5.57
#387618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#387618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387618
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387618#FFFFFF#000000##FFFFFF
##3876181.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B02
Deuteranopia (green-blind)
#726622
Tritanopia (blue-blind)
#347264
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #387618;
/* rgb */ color: rgb(56, 118, 24);
/* oklch */ color: oklch(50.5% 0.140 137.4);
Tailwind
colors: {
  custom: {
    50: '#769e5d',
    500: '#387618',
    950: '#000000',
  },
}
SCSS
$custom: #387618;
$custom-light: #769e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#387618",
  "rgb": {
    "r": 56,
    "g": 118,
    "b": 24
  },
  "hsl": {
    "h": 99.574,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.5052,
    "c": 0.13999,
    "h": 137.4
  },
  "luminance": 0.13864
}

Semantic roles & 50–950 ramp

primary
#387618
secondary
#863FAB
accent
#3FE9AF
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #387618

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

Preview Lab → · Contrast checker → · Palette generator →

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