#555217#555217

#555217 is a dark, moderate yellow. Relative luminance 0.080; OKLCH L 42.9% C 0.078 H 106.4°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#555217
RGBrgb(85, 82, 23)
HSLhsl(57, 57%, 21%)
HSVhsv(57, 73%, 33%)
CMYKcmyk(0%, 3.5%, 72.9%, 66.7%)
CIE-LABlab(34.04, -6.93, 33.55)
CIE-LCHlch(34.04, 34.25, 101.67°)
OKLaboklab(42.9% -0.0222 0.0753)
OKLCHoklch(42.9% 0.078 106.4)
XYZxyz(6.9185, 8.0280, 1.9956)
Luminance0.0803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#555217 #171A55
analogous
#553317 #555217 #395517
triadic
#555217 #175552 #521755
tetradic
#555217 #175533 #171A55 #551739
square
#555217 #175533 #171A55 #551739
split-complementary
#555217 #173955 #331755
monochromatic
#181707 #25240A #555217 #858024 #B5AF31

Accessibility & contrast

On white

8.06
#555217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#555217 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #555217
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##555217#FFFFFF#000000##FFFFFF
##5552171.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F0F
Deuteranopia (green-blind)
#5B511B
Tritanopia (blue-blind)
#5C4C46
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #555217;
/* rgb */ color: rgb(85, 82, 23);
/* oklch */ color: oklch(42.9% 0.078 106.4);
Tailwind
colors: {
  custom: {
    50: '#878258',
    500: '#555217',
    950: '#000000',
  },
}
SCSS
$custom: #555217;
$custom-light: #878258;
$custom-dark: #000000;
JSON
{
  "hex": "#555217",
  "rgb": {
    "r": 85,
    "g": 82,
    "b": 23
  },
  "hsl": {
    "h": 57.097,
    "s": 57.407,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42901,
    "c": 0.07846,
    "h": 106.4
  },
  "luminance": 0.08028
}

Semantic roles & 50–950 ramp

primary
#555217
secondary
#3C408C
accent
#4FE147
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #555217

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

Preview Lab → · Contrast checker → · Palette generator →

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