#555218#555218

#555218 is a dark, moderate yellow. Relative luminance 0.080; OKLCH L 42.9% C 0.078 H 106.4°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#555218
RGBrgb(85, 82, 24)
HSLhsl(57, 56%, 21%)
HSVhsv(57, 72%, 33%)
CMYKcmyk(0%, 3.5%, 71.8%, 66.7%)
CIE-LABlab(34.05, -6.86, 33.09)
CIE-LCHlch(34.05, 33.80, 101.71°)
OKLaboklab(42.91% -0.0219 0.0745)
OKLCHoklch(42.91% 0.078 106.4)
XYZxyz(6.9287, 8.0321, 2.0493)
Luminance0.0803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#555218 #181B55
analogous
#553418 #555218 #3A5518
triadic
#555218 #185552 #521855
tetradic
#555218 #185534 #181B55 #55183A
square
#555218 #185534 #181B55 #55183A
split-complementary
#555218 #183A55 #341855
monochromatic
#181707 #25240B #555218 #858025 #B4AE33

Accessibility & contrast

On white

8.06
#555218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#555218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #555218
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##555218#FFFFFF#000000##FFFFFF
##5552181.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F10
Deuteranopia (green-blind)
#5B511C
Tritanopia (blue-blind)
#5C4C46
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #555218;
/* rgb */ color: rgb(85, 82, 24);
/* oklch */ color: oklch(42.9% 0.078 106.4);
Tailwind
colors: {
  custom: {
    50: '#878259',
    500: '#555218',
    950: '#000000',
  },
}
SCSS
$custom: #555218;
$custom-light: #878259;
$custom-dark: #000000;
JSON
{
  "hex": "#555218",
  "rgb": {
    "r": 85,
    "g": 82,
    "b": 24
  },
  "hsl": {
    "h": 57.049,
    "s": 55.963,
    "l": 21.373
  },
  "oklch": {
    "l": 0.4291,
    "c": 0.07764,
    "h": 106.4
  },
  "luminance": 0.08032
}

Semantic roles & 50–950 ramp

primary
#555218
secondary
#3D418C
accent
#50DF49
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #555218

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

Preview Lab → · Contrast checker → · Palette generator →

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