#387017#387017

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

Color values

HEX#387017
RGBrgb(56, 112, 23)
HSLhsl(98, 66%, 26%)
HSVhsv(98, 79%, 44%)
CMYKcmyk(50%, 0%, 79.5%, 56.1%)
CIE-LABlab(41.99, -34.72, 40.79)
CIE-LCHlch(41.99, 53.56, 130.41°)
OKLaboklab(48.83% -0.0965 0.0912)
OKLCHoklch(48.83% 0.133 136.6)
XYZxyz(7.5795, 12.4904, 2.8220)
Luminance0.1249 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387017 #4F1770
analogous
#657017 #387017 #177023
triadic
#387017 #173870 #701738
tetradic
#387017 #176570 #4F1770 #702317
square
#387017 #176570 #4F1770 #702317
split-complementary
#387017 #231770 #701765
monochromatic
#0D1905 #1F3D0D #387017 #51A321 #6BD42D

Accessibility & contrast

On white

6.00
#387017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #387017
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387017#FFFFFF#000000##FFFFFF
##3870171.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #387017;
/* rgb */ color: rgb(56, 112, 23);
/* oklch */ color: oklch(48.8% 0.133 136.6);
Tailwind
colors: {
  custom: {
    50: '#75995b',
    500: '#387017',
    950: '#000000',
  },
}
SCSS
$custom: #387017;
$custom-light: #75995b;
$custom-dark: #000000;
JSON
{
  "hex": "#387017",
  "rgb": {
    "r": 56,
    "g": 112,
    "b": 23
  },
  "hsl": {
    "h": 97.753,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48832,
    "c": 0.13277,
    "h": 136.6
  },
  "luminance": 0.12491
}

Semantic roles & 50–950 ramp

primary
#387017
secondary
#7F3DA6
accent
#3FE9AA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #387017

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

Preview Lab → · Contrast checker → · Palette generator →

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