#387518#387518

#387518 is a mid, vivid yellow-green. Relative luminance 0.136; OKLCH L 50.2% C 0.139 H 137.3°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#387518
RGBrgb(56, 117, 24)
HSLhsl(99, 66%, 28%)
HSVhsv(99, 79%, 46%)
CMYKcmyk(52.1%, 0%, 79.5%, 54.1%)
CIE-LABlab(43.70, -36.76, 42.09)
CIE-LCHlch(43.70, 55.88, 131.14°)
OKLaboklab(50.24% -0.102 0.094)
OKLCHoklch(50.24% 0.139 137.3)
XYZxyz(8.1568, 13.6287, 3.0648)
Luminance0.1363 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387518 #551875
analogous
#667518 #387518 #187527
triadic
#387518 #183875 #751838
tetradic
#387518 #186675 #551875 #752718
square
#387518 #186675 #551875 #752718
split-complementary
#387518 #271875 #751866
monochromatic
#0C1905 #20420E #387518 #50A822 #6AD532

Accessibility & contrast

On white

5.64
#387518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#387518 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387518
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387518#FFFFFF#000000##FFFFFF
##3875181.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A03
Deuteranopia (green-blind)
#716522
Tritanopia (blue-blind)
#347163
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #387518;
/* rgb */ color: rgb(56, 117, 24);
/* oklch */ color: oklch(50.2% 0.139 137.3);
Tailwind
colors: {
  custom: {
    50: '#759d5d',
    500: '#387518',
    950: '#000000',
  },
}
SCSS
$custom: #387518;
$custom-light: #759d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#387518",
  "rgb": {
    "r": 56,
    "g": 117,
    "b": 24
  },
  "hsl": {
    "h": 99.355,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.5024,
    "c": 0.1387,
    "h": 137.3
  },
  "luminance": 0.13629
}

Semantic roles & 50–950 ramp

primary
#387518
secondary
#853FAA
accent
#3FE9AE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #387518

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

Preview Lab → · Contrast checker → · Palette generator →

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