#554A12#554A12

#554A12 is a dark, moderate yellow. Relative luminance 0.069; OKLCH L 40.9% C 0.074 H 97.7°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#554A12
RGBrgb(85, 74, 18)
HSLhsl(50, 65%, 20%)
HSVhsv(50, 79%, 33%)
CMYKcmyk(0%, 12.9%, 78.8%, 66.7%)
CIE-LABlab(31.52, -2.41, 33.28)
CIE-LCHlch(31.52, 33.37, 94.14°)
OKLaboklab(40.88% -0.01 0.0737)
OKLCHoklch(40.88% 0.074 97.7)
XYZxyz(6.3046, 6.8728, 1.5667)
Luminance0.0687 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#554A12 #121D55
analogous
#552812 #554A12 #3F5512
triadic
#554A12 #12554A #4A1255
tetradic
#554A12 #125528 #121D55 #55123F
square
#554A12 #125528 #121D55 #55123F
split-complementary
#554A12 #123F55 #281255
monochromatic
#191605 #221E07 #554A12 #88761D #BAA227

Accessibility & contrast

On white

8.84
#554A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#554A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #554A12
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##554A12#FFFFFF#000000##FFFFFF
##554A121.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524809
Deuteranopia (green-blind)
#554C15
Tritanopia (blue-blind)
#5C443F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #554a12;
/* rgb */ color: rgb(85, 74, 18);
/* oklch */ color: oklch(40.9% 0.074 97.7);
Tailwind
colors: {
  custom: {
    50: '#887c54',
    500: '#554a12',
    950: '#000000',
  },
}
SCSS
$custom: #554a12;
$custom-light: #887c54;
$custom-dark: #000000;
JSON
{
  "hex": "#554a12",
  "rgb": {
    "r": 85,
    "g": 74,
    "b": 18
  },
  "hsl": {
    "h": 50.149,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40882,
    "c": 0.07436,
    "h": 97.7
  },
  "luminance": 0.06873
}

Semantic roles & 50–950 ramp

primary
#554A12
secondary
#35448E
accent
#5BE840
background
#F8F7F5
surface
#F0EEE8
border
#CBC9C4
text
#0C0903
muted
#7D7B78

Preview Lab

Preview with #554A12

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

Preview Lab → · Contrast checker → · Palette generator →

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