#555812#555812

#555812 is a dark, moderate yellow. Relative luminance 0.090; OKLCH L 44.4% C 0.089 H 112.0°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#555812
RGBrgb(85, 88, 18)
HSLhsl(63, 66%, 21%)
HSVhsv(63, 80%, 35%)
CMYKcmyk(3.4%, 0%, 79.5%, 65.5%)
CIE-LABlab(35.90, -10.72, 37.48)
CIE-LCHlch(35.90, 38.98, 105.96°)
OKLaboklab(44.37% -0.0334 0.0826)
OKLCHoklch(44.37% 0.089 112)
XYZxyz(7.3455, 8.9546, 1.9136)
Luminance0.0895 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#555812 #151258
analogous
#583812 #555812 #325812
triadic
#555812 #125558 #581255
tetradic
#555812 #125838 #151258 #581232
square
#555812 #125838 #151258 #581232
split-complementary
#555812 #123258 #381258
monochromatic
#191905 #242508 #555812 #868B1C #B7BE27

Accessibility & contrast

On white

7.52
#555812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#555812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #555812
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##555812#FFFFFF#000000##FFFFFF
##5558121.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5404
Deuteranopia (green-blind)
#605518
Tritanopia (blue-blind)
#5B524B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #555812;
/* rgb */ color: rgb(85, 88, 18);
/* oklch */ color: oklch(44.4% 0.089 112.0);
Tailwind
colors: {
  custom: {
    50: '#878756',
    500: '#555812',
    950: '#000000',
  },
}
SCSS
$custom: #555812;
$custom-light: #878756;
$custom-dark: #000000;
JSON
{
  "hex": "#555812",
  "rgb": {
    "r": 85,
    "g": 88,
    "b": 18
  },
  "hsl": {
    "h": 62.571,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.44371,
    "c": 0.08906,
    "h": 112
  },
  "luminance": 0.08954
}

Semantic roles & 50–950 ramp

primary
#555812
secondary
#393591
accent
#3FE946
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #555812

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

Preview Lab → · Contrast checker → · Palette generator →

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