#555118#555118

#555118 is a dark, moderate yellow. Relative luminance 0.079; OKLCH L 42.7% C 0.077 H 105.3°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#555118
RGBrgb(85, 81, 24)
HSLhsl(56, 56%, 21%)
HSVhsv(56, 72%, 33%)
CMYKcmyk(0%, 4.7%, 71.8%, 66.7%)
CIE-LABlab(33.74, -6.27, 32.77)
CIE-LCHlch(33.74, 33.36, 100.83°)
OKLaboklab(42.66% -0.0202 0.0738)
OKLCHoklch(42.66% 0.077 105.3)
XYZxyz(6.8539, 7.8823, 2.0244)
Luminance0.0788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#555118 #181C55
analogous
#553318 #555118 #3B5518
triadic
#555118 #185551 #511855
tetradic
#555118 #185533 #181C55 #55183B
square
#555118 #185533 #181C55 #55183B
split-complementary
#555118 #183B55 #331855
monochromatic
#181707 #25240B #555118 #857E25 #B4AC33

Accessibility & contrast

On white

8.15
#555118 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#555118 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #555118
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##555118#FFFFFF#000000##FFFFFF
##5551181.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E10
Deuteranopia (green-blind)
#5A501C
Tritanopia (blue-blind)
#5C4B45
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #555118;
/* rgb */ color: rgb(85, 81, 24);
/* oklch */ color: oklch(42.7% 0.077 105.3);
Tailwind
colors: {
  custom: {
    50: '#878158',
    500: '#555118',
    950: '#000000',
  },
}
SCSS
$custom: #555118;
$custom-light: #878158;
$custom-dark: #000000;
JSON
{
  "hex": "#555118",
  "rgb": {
    "r": 85,
    "g": 81,
    "b": 24
  },
  "hsl": {
    "h": 56.066,
    "s": 55.963,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42661,
    "c": 0.07652,
    "h": 105.3
  },
  "luminance": 0.07882
}

Semantic roles & 50–950 ramp

primary
#555118
secondary
#3D428C
accent
#52DF49
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #555118

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

Preview Lab → · Contrast checker → · Palette generator →

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