#556315#556315

#556315 is a mid, moderate yellow-green. Relative luminance 0.109; OKLCH L 47.2% C 0.101 H 119.5°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#556315
RGBrgb(85, 99, 21)
HSLhsl(71, 65%, 24%)
HSVhsv(71, 79%, 39%)
CMYKcmyk(14.1%, 0%, 78.8%, 61.2%)
CIE-LABlab(39.43, -16.69, 39.68)
CIE-LCHlch(39.43, 43.05, 112.82°)
OKLaboklab(47.21% -0.0496 0.0878)
OKLCHoklch(47.21% 0.101 119.5)
XYZxyz(8.3437, 10.9092, 2.3754)
Luminance0.1091 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#556315 #231563
analogous
#634A15 #556315 #2E6315
triadic
#556315 #155563 #631555
tetradic
#556315 #15634A #231563 #63152E
square
#556315 #15634A #231563 #63152E
split-complementary
#556315 #152E63 #4A1563
monochromatic
#161905 #2A310A #556315 #809520 #ACC82A

Accessibility & contrast

On white

6.60
#556315 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#556315 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #556315
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##556315#FFFFFF#000000##FFFFFF
##5563151.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D05
Deuteranopia (green-blind)
#685D1C
Tritanopia (blue-blind)
#5A5D54
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #556315;
/* rgb */ color: rgb(85, 99, 21);
/* oklch */ color: oklch(47.2% 0.101 119.5);
Tailwind
colors: {
  custom: {
    50: '#878f59',
    500: '#556315',
    950: '#000000',
  },
}
SCSS
$custom: #556315;
$custom-light: #878f59;
$custom-dark: #000000;
JSON
{
  "hex": "#556315",
  "rgb": {
    "r": 85,
    "g": 99,
    "b": 21
  },
  "hsl": {
    "h": 70.769,
    "s": 65,
    "l": 23.529
  },
  "oklch": {
    "l": 0.47212,
    "c": 0.10086,
    "h": 119.5
  },
  "luminance": 0.10909
}

Semantic roles & 50–950 ramp

primary
#556315
secondary
#4B3A9A
accent
#40E85E
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #556315

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

Preview Lab → · Contrast checker → · Palette generator →

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