#555018#555018

#555018 is a dark, moderate yellow. Relative luminance 0.077; OKLCH L 42.4% C 0.075 H 104.2°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#555018
RGBrgb(85, 80, 24)
HSLhsl(55, 56%, 21%)
HSVhsv(55, 72%, 33%)
CMYKcmyk(0%, 5.9%, 71.8%, 66.7%)
CIE-LABlab(33.42, -5.67, 32.45)
CIE-LCHlch(33.42, 32.94, 99.91°)
OKLaboklab(42.41% -0.0185 0.0731)
OKLCHoklch(42.41% 0.075 104.2)
XYZxyz(6.7801, 7.7348, 1.9998)
Luminance0.0774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#555018 #181D55
analogous
#553218 #555018 #3C5518
triadic
#555018 #185550 #501855
tetradic
#555018 #185532 #181D55 #55183C
square
#555018 #185532 #181D55 #55183C
split-complementary
#555018 #183C55 #321855
monochromatic
#181607 #25230B #555018 #857D25 #B4AA33

Accessibility & contrast

On white

8.24
#555018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#555018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #555018
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##555018#FFFFFF#000000##FFFFFF
##5550181.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D11
Deuteranopia (green-blind)
#59501B
Tritanopia (blue-blind)
#5C4A45
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #555018;
/* rgb */ color: rgb(85, 80, 24);
/* oklch */ color: oklch(42.4% 0.075 104.2);
Tailwind
colors: {
  custom: {
    50: '#878058',
    500: '#555018',
    950: '#000000',
  },
}
SCSS
$custom: #555018;
$custom-light: #878058;
$custom-dark: #000000;
JSON
{
  "hex": "#555018",
  "rgb": {
    "r": 85,
    "g": 80,
    "b": 24
  },
  "hsl": {
    "h": 55.082,
    "s": 55.963,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42412,
    "c": 0.07544,
    "h": 104.2
  },
  "luminance": 0.07735
}

Semantic roles & 50–950 ramp

primary
#555018
secondary
#3D448C
accent
#55DF49
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #555018

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

Preview Lab → · Contrast checker → · Palette generator →

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