#387512#387512

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

Color values

HEX#387512
RGBrgb(56, 117, 18)
HSLhsl(97, 73%, 26%)
HSVhsv(97, 85%, 46%)
CMYKcmyk(52.1%, 0%, 84.6%, 54.1%)
CIE-LABlab(43.66, -37.13, 44.03)
CIE-LCHlch(43.66, 57.60, 130.14°)
OKLaboklab(50.2% -0.1033 0.0972)
OKLCHoklch(50.2% 0.142 136.8)
XYZxyz(8.1011, 13.6064, 2.7716)
Luminance0.1361 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387512 #4F1275
analogous
#6A7512 #387512 #12751E
triadic
#387512 #123875 #751238
tetradic
#387512 #126A75 #4F1275 #751E12
square
#387512 #126A75 #4F1275 #751E12
split-complementary
#387512 #1E1275 #75126A
monochromatic
#0D1B04 #1F400A #387512 #51AA1A #6BDD24

Accessibility & contrast

On white

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

On black

3.72
#387512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##387512#FFFFFF#000000##FFFFFF
##3875121.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#71651E
Tritanopia (blue-blind)
#347063
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #387512;
/* rgb */ color: rgb(56, 117, 18);
/* oklch */ color: oklch(50.2% 0.142 136.8);
Tailwind
colors: {
  custom: {
    50: '#769d5a',
    500: '#387512',
    950: '#000000',
  },
}
SCSS
$custom: #387512;
$custom-light: #769d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#387512",
  "rgb": {
    "r": 56,
    "g": 117,
    "b": 18
  },
  "hsl": {
    "h": 96.97,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.50203,
    "c": 0.14183,
    "h": 136.8
  },
  "luminance": 0.13607
}

Semantic roles & 50–950 ramp

primary
#387512
secondary
#7F37AC
accent
#38F0A9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #387512

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

Preview Lab → · Contrast checker → · Palette generator →

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