#555112#555112

#555112 is a dark, moderate yellow. Relative luminance 0.079; OKLCH L 42.6% C 0.081 H 105.7°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#555112
RGBrgb(85, 81, 18)
HSLhsl(56, 65%, 20%)
HSVhsv(56, 79%, 33%)
CMYKcmyk(0%, 4.7%, 78.8%, 66.7%)
CIE-LABlab(33.69, -6.63, 35.38)
CIE-LCHlch(33.69, 36.00, 100.61°)
OKLaboklab(42.61% -0.0219 0.0781)
OKLCHoklch(42.61% 0.081 105.7)
XYZxyz(6.7982, 7.8601, 1.7312)
Luminance0.0786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#555112 #121655
analogous
#552F12 #555112 #375512
triadic
#555112 #125551 #511255
tetradic
#555112 #12552F #121655 #551237
square
#555112 #12552F #121655 #551237
split-complementary
#555112 #123755 #2F1255
monochromatic
#191805 #222107 #555112 #88811D #BAB127

Accessibility & contrast

On white

8.16
#555112 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#555112 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #555112
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##555112#FFFFFF#000000##FFFFFF
##5551121.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E07
Deuteranopia (green-blind)
#5A5017
Tritanopia (blue-blind)
#5C4B45
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #555112;
/* rgb */ color: rgb(85, 81, 18);
/* oklch */ color: oklch(42.6% 0.081 105.7);
Tailwind
colors: {
  custom: {
    50: '#878155',
    500: '#555112',
    950: '#000000',
  },
}
SCSS
$custom: #555112;
$custom-light: #878155;
$custom-dark: #000000;
JSON
{
  "hex": "#555112",
  "rgb": {
    "r": 85,
    "g": 81,
    "b": 18
  },
  "hsl": {
    "h": 56.418,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.42609,
    "c": 0.08115,
    "h": 105.7
  },
  "luminance": 0.0786
}

Semantic roles & 50–950 ramp

primary
#555112
secondary
#353A8E
accent
#4AE840
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #555112

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

Preview Lab → · Contrast checker → · Palette generator →

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