#54510E#54510E

#54510E is a dark, moderate yellow. Relative luminance 0.078; OKLCH L 42.5% C 0.084 H 106.8°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#54510E
RGBrgb(84, 81, 14)
HSLhsl(57, 71%, 19%)
HSVhsv(57, 83%, 33%)
CMYKcmyk(0%, 3.6%, 83.3%, 67.1%)
CIE-LABlab(33.57, -7.33, 36.78)
CIE-LCHlch(33.57, 37.51, 101.27°)
OKLaboklab(42.48% -0.0242 0.0803)
OKLCHoklch(42.48% 0.084 106.8)
XYZxyz(6.6781, 7.8016, 1.5695)
Luminance0.0780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54510E #0E1154
analogous
#542E0E #54510E #34540E
triadic
#54510E #0E5451 #510E54
tetradic
#54510E #0E542E #0E1154 #540E34
square
#54510E #0E542E #0E1154 #540E34
split-complementary
#54510E #0E3454 #2E0E54
monochromatic
#1A1904 #201E05 #54510E #888417 #BDB61F

Accessibility & contrast

On white

8.20
#54510E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#54510E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54510E
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54510E#FFFFFF#000000##FFFFFF
##54510E1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E01
Deuteranopia (green-blind)
#5A5013
Tritanopia (blue-blind)
#5B4B44
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #54510e;
/* rgb */ color: rgb(84, 81, 14);
/* oklch */ color: oklch(42.5% 0.084 106.8);
Tailwind
colors: {
  custom: {
    50: '#878153',
    500: '#54510e',
    950: '#000000',
  },
}
SCSS
$custom: #54510e;
$custom-light: #878153;
$custom-dark: #000000;
JSON
{
  "hex": "#54510e",
  "rgb": {
    "r": 84,
    "g": 81,
    "b": 14
  },
  "hsl": {
    "h": 57.429,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.42478,
    "c": 0.08388,
    "h": 106.8
  },
  "luminance": 0.07801
}

Semantic roles & 50–950 ramp

primary
#54510E
secondary
#2F348E
accent
#41EE3A
background
#F8F7F4
surface
#F0EEE8
border
#CBC9C4
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #54510E

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

Preview Lab → · Contrast checker → · Palette generator →

#54510E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva