#387012#387012

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

Color values

HEX#387012
RGBrgb(56, 112, 18)
HSLhsl(96, 72%, 25%)
HSVhsv(96, 84%, 44%)
CMYKcmyk(50%, 0%, 83.9%, 56.1%)
CIE-LABlab(41.96, -35.03, 42.46)
CIE-LCHlch(41.96, 55.05, 129.52°)
OKLaboklab(48.8% -0.0977 0.0939)
OKLCHoklch(48.8% 0.135 136.1)
XYZxyz(7.5340, 12.4723, 2.5825)
Luminance0.1247 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387012 #4A1270
analogous
#677012 #387012 #12701B
triadic
#387012 #123870 #701238
tetradic
#387012 #126770 #4A1270 #701B12
square
#387012 #126770 #4A1270 #701B12
split-complementary
#387012 #1B1270 #701267
monochromatic
#0D1A04 #1E3B0A #387012 #52A51A #6DD923

Accessibility & contrast

On white

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

On black

3.49
#387012 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##387012#FFFFFF#000000##FFFFFF
##3870121.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #387012;
/* rgb */ color: rgb(56, 112, 18);
/* oklch */ color: oklch(48.8% 0.135 136.1);
Tailwind
colors: {
  custom: {
    50: '#759959',
    500: '#387012',
    950: '#000000',
  },
}
SCSS
$custom: #387012;
$custom-light: #759959;
$custom-dark: #000000;
JSON
{
  "hex": "#387012",
  "rgb": {
    "r": 56,
    "g": 112,
    "b": 18
  },
  "hsl": {
    "h": 95.745,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.48799,
    "c": 0.13548,
    "h": 136.1
  },
  "luminance": 0.12473
}

Semantic roles & 50–950 ramp

primary
#387012
secondary
#7A37A7
accent
#39EFA5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #387012

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

Preview Lab → · Contrast checker → · Palette generator →

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