#554F0C#554F0C

#554F0C is a dark, moderate yellow. Relative luminance 0.075; OKLCH L 42.1% C 0.083 H 104.0°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#554F0C
RGBrgb(85, 79, 12)
HSLhsl(55, 75%, 19%)
HSVhsv(55, 86%, 33%)
CMYKcmyk(0%, 7.1%, 85.9%, 66.7%)
CIE-LABlab(33.03, -5.72, 37.05)
CIE-LCHlch(33.03, 37.49, 98.78°)
OKLaboklab(42.07% -0.02 0.0804)
OKLCHoklch(42.07% 0.083 104)
XYZxyz(6.6090, 7.5501, 1.4569)
Luminance0.0755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#554F0C #0C1255
analogous
#552B0C #554F0C #37550C
triadic
#554F0C #0C554F #4F0C55
tetradic
#554F0C #0C552B #0C1255 #550C37
square
#554F0C #0C552B #0C1255 #550C37
split-complementary
#554F0C #0C3755 #2B0C55
monochromatic
#1B1904 #1F1D04 #554F0C #8B8114 #C0B31B

Accessibility & contrast

On white

8.37
#554F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#554F0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #554F0C
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##554F0C#FFFFFF#000000##FFFFFF
##554F0C1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C00
Deuteranopia (green-blind)
#594F12
Tritanopia (blue-blind)
#5C4943
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #554f0c;
/* rgb */ color: rgb(85, 79, 12);
/* oklch */ color: oklch(42.1% 0.083 104.0);
Tailwind
colors: {
  custom: {
    50: '#888052',
    500: '#554f0c',
    950: '#000000',
  },
}
SCSS
$custom: #554f0c;
$custom-light: #888052;
$custom-dark: #000000;
JSON
{
  "hex": "#554f0c",
  "rgb": {
    "r": 85,
    "g": 79,
    "b": 12
  },
  "hsl": {
    "h": 55.068,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.4207,
    "c": 0.08283,
    "h": 104
  },
  "luminance": 0.0755
}

Semantic roles & 50–950 ramp

primary
#554F0C
secondary
#2D3590
accent
#45F236
background
#F8F7F4
surface
#F0EEE7
border
#CBC9C3
text
#0C0A02
muted
#7D7C78

Preview Lab

Preview with #554F0C

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

Preview Lab → · Contrast checker → · Palette generator →

#554F0C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva