#387015#387015

#387015 is a mid, vivid yellow-green. Relative luminance 0.125; OKLCH L 48.8% C 0.134 H 136.4°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#387015
RGBrgb(56, 112, 21)
HSLhsl(97, 68%, 26%)
HSVhsv(97, 81%, 44%)
CMYKcmyk(50%, 0%, 81.2%, 56.1%)
CIE-LABlab(41.97, -34.85, 41.49)
CIE-LCHlch(41.97, 54.18, 130.03°)
OKLaboklab(48.82% -0.097 0.0923)
OKLCHoklch(48.82% 0.134 136.4)
XYZxyz(7.5602, 12.4827, 2.7204)
Luminance0.1248 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387015 #4D1570
analogous
#657015 #387015 #15701F
triadic
#387015 #153870 #701538
tetradic
#387015 #156570 #4D1570 #701F15
square
#387015 #156570 #4D1570 #701F15
split-complementary
#387015 #1F1570 #701565
monochromatic
#0D1A05 #1E3C0B #387015 #52A41F #6CD729

Accessibility & contrast

On white

6.01
#387015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#387015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387015
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387015#FFFFFF#000000##FFFFFF
##3870151.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746600
Deuteranopia (green-blind)
#6D611F
Tritanopia (blue-blind)
#356C5F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #387015;
/* rgb */ color: rgb(56, 112, 21);
/* oklch */ color: oklch(48.8% 0.134 136.4);
Tailwind
colors: {
  custom: {
    50: '#75995b',
    500: '#387015',
    950: '#000000',
  },
}
SCSS
$custom: #387015;
$custom-light: #75995b;
$custom-dark: #000000;
JSON
{
  "hex": "#387015",
  "rgb": {
    "r": 56,
    "g": 112,
    "b": 21
  },
  "hsl": {
    "h": 96.923,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48818,
    "c": 0.13391,
    "h": 136.4
  },
  "luminance": 0.12483
}

Semantic roles & 50–950 ramp

primary
#387015
secondary
#7D3BA6
accent
#3DEBA8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #387015

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

Preview Lab → · Contrast checker → · Palette generator →

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