#555012#555012

#555012 is a dark, moderate yellow. Relative luminance 0.077; OKLCH L 42.4% C 0.080 H 104.7°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#555012
RGBrgb(85, 80, 18)
HSLhsl(56, 65%, 20%)
HSVhsv(56, 79%, 33%)
CMYKcmyk(0%, 5.9%, 78.8%, 66.7%)
CIE-LABlab(33.38, -6.04, 35.08)
CIE-LCHlch(33.38, 35.60, 99.76°)
OKLaboklab(42.36% -0.0203 0.0775)
OKLCHoklch(42.36% 0.08 104.7)
XYZxyz(6.7244, 7.7126, 1.7066)
Luminance0.0771 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#555012 #121755
analogous
#552E12 #555012 #395512
triadic
#555012 #125550 #501255
tetradic
#555012 #12552E #121755 #551239
square
#555012 #12552E #121755 #551239
split-complementary
#555012 #123955 #2E1255
monochromatic
#191805 #222007 #555012 #88801D #BAAF27

Accessibility & contrast

On white

8.26
#555012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#555012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #555012
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##555012#FFFFFF#000000##FFFFFF
##5550121.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D07
Deuteranopia (green-blind)
#595016
Tritanopia (blue-blind)
#5C4A44
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #555012;
/* rgb */ color: rgb(85, 80, 18);
/* oklch */ color: oklch(42.4% 0.080 104.7);
Tailwind
colors: {
  custom: {
    50: '#878055',
    500: '#555012',
    950: '#000000',
  },
}
SCSS
$custom: #555012;
$custom-light: #878055;
$custom-dark: #000000;
JSON
{
  "hex": "#555012",
  "rgb": {
    "r": 85,
    "g": 80,
    "b": 18
  },
  "hsl": {
    "h": 55.522,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.4236,
    "c": 0.08009,
    "h": 104.7
  },
  "luminance": 0.07712
}

Semantic roles & 50–950 ramp

primary
#555012
secondary
#353C8E
accent
#4CE840
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #555012

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

Preview Lab → · Contrast checker → · Palette generator →

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