#387312#387312

#387312 is a mid, vivid yellow-green. Relative luminance 0.131; OKLCH L 49.6% C 0.139 H 136.5°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#387312
RGBrgb(56, 115, 18)
HSLhsl(96, 73%, 26%)
HSVhsv(96, 84%, 45%)
CMYKcmyk(51.3%, 0%, 84.3%, 54.9%)
CIE-LABlab(42.98, -36.30, 43.41)
CIE-LCHlch(42.98, 56.58, 129.90°)
OKLaboklab(49.64% -0.1011 0.0959)
OKLCHoklch(49.64% 0.139 136.5)
XYZxyz(7.8706, 13.1453, 2.6947)
Luminance0.1315 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387312 #4D1273
analogous
#687312 #387312 #12731C
triadic
#387312 #123873 #731238
tetradic
#387312 #126873 #4D1273 #731C12
square
#387312 #126873 #4D1273 #731C12
split-complementary
#387312 #1C1273 #731268
monochromatic
#0D1A04 #1E3E0A #387312 #52A81A #6CDD23

Accessibility & contrast

On white

5.79
#387312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#387312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387312
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387312#FFFFFF#000000##FFFFFF
##3873121.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776900
Deuteranopia (green-blind)
#70641E
Tritanopia (blue-blind)
#356E61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #387312;
/* rgb */ color: rgb(56, 115, 18);
/* oklch */ color: oklch(49.6% 0.139 136.5);
Tailwind
colors: {
  custom: {
    50: '#759c5a',
    500: '#387312',
    950: '#000000',
  },
}
SCSS
$custom: #387312;
$custom-light: #759c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#387312",
  "rgb": {
    "r": 56,
    "g": 115,
    "b": 18
  },
  "hsl": {
    "h": 96.495,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.49642,
    "c": 0.1393,
    "h": 136.5
  },
  "luminance": 0.13146
}

Semantic roles & 50–950 ramp

primary
#387312
secondary
#7D37AA
accent
#38F0A8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #387312

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

Preview Lab → · Contrast checker → · Palette generator →

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