#555212#555212

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

Color values

HEX#555212
RGBrgb(85, 82, 18)
HSLhsl(57, 65%, 20%)
HSVhsv(57, 79%, 33%)
CMYKcmyk(0%, 3.5%, 78.8%, 66.7%)
CIE-LABlab(34.00, -7.22, 35.68)
CIE-LCHlch(34.00, 36.40, 101.44°)
OKLaboklab(42.86% -0.0236 0.0788)
OKLCHoklch(42.86% 0.082 106.7)
XYZxyz(6.8731, 8.0098, 1.7562)
Luminance0.0801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#555212 #121555
analogous
#553012 #555212 #375512
triadic
#555212 #125552 #521255
tetradic
#555212 #125530 #121555 #551237
square
#555212 #125530 #121555 #551237
split-complementary
#555212 #123755 #301255
monochromatic
#191805 #222107 #555212 #88831D #BAB327

Accessibility & contrast

On white

8.07
#555212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#555212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #555212
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##555212#FFFFFF#000000##FFFFFF
##5552121.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F06
Deuteranopia (green-blind)
#5B5117
Tritanopia (blue-blind)
#5C4C46
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #555212;
/* rgb */ color: rgb(85, 82, 18);
/* oklch */ color: oklch(42.9% 0.082 106.7);
Tailwind
colors: {
  custom: {
    50: '#878255',
    500: '#555212',
    950: '#000000',
  },
}
SCSS
$custom: #555212;
$custom-light: #878255;
$custom-dark: #000000;
JSON
{
  "hex": "#555212",
  "rgb": {
    "r": 85,
    "g": 82,
    "b": 18
  },
  "hsl": {
    "h": 57.313,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.42858,
    "c": 0.08222,
    "h": 106.7
  },
  "luminance": 0.0801
}

Semantic roles & 50–950 ramp

primary
#555212
secondary
#35398E
accent
#47E840
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #555212

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

Preview Lab → · Contrast checker → · Palette generator →

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