#555312#555312

#555312 is a dark, moderate yellow. Relative luminance 0.082; OKLCH L 43.1% C 0.083 H 107.6°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#555312
RGBrgb(85, 83, 18)
HSLhsl(58, 65%, 20%)
HSVhsv(58, 79%, 33%)
CMYKcmyk(0%, 2.4%, 78.8%, 66.7%)
CIE-LABlab(34.32, -7.81, 35.98)
CIE-LCHlch(34.32, 36.82, 102.25°)
OKLaboklab(43.11% -0.0253 0.0794)
OKLCHoklch(43.11% 0.083 107.6)
XYZxyz(6.9490, 8.1617, 1.7815)
Luminance0.0816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#555312 #121455
analogous
#553112 #555312 #355512
triadic
#555312 #125553 #531255
tetradic
#555312 #125531 #121455 #551235
square
#555312 #125531 #121455 #551235
split-complementary
#555312 #123555 #311255
monochromatic
#191905 #222207 #555312 #88841D #BAB627

Accessibility & contrast

On white

7.98
#555312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#555312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #555312
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##555312#FFFFFF#000000##FFFFFF
##5553121.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B4F06
Deuteranopia (green-blind)
#5C5217
Tritanopia (blue-blind)
#5C4D46
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #555312;
/* rgb */ color: rgb(85, 83, 18);
/* oklch */ color: oklch(43.1% 0.083 107.6);
Tailwind
colors: {
  custom: {
    50: '#878355',
    500: '#555312',
    950: '#000000',
  },
}
SCSS
$custom: #555312;
$custom-light: #878355;
$custom-dark: #000000;
JSON
{
  "hex": "#555312",
  "rgb": {
    "r": 85,
    "g": 83,
    "b": 18
  },
  "hsl": {
    "h": 58.209,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.43109,
    "c": 0.08332,
    "h": 107.6
  },
  "luminance": 0.08161
}

Semantic roles & 50–950 ramp

primary
#555312
secondary
#35388E
accent
#45E840
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #555312

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

Preview Lab → · Contrast checker → · Palette generator →

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