#51541A#51541A

#51541A is a dark, moderate yellow. Relative luminance 0.082; OKLCH L 43.0% C 0.079 H 112.1°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#51541A
RGBrgb(81, 84, 26)
HSLhsl(63, 53%, 22%)
HSVhsv(63, 69%, 33%)
CMYKcmyk(3.6%, 0%, 69%, 67.1%)
CIE-LABlab(34.32, -9.85, 32.31)
CIE-LCHlch(34.32, 33.78, 106.95°)
OKLaboklab(43.04% -0.0298 0.0733)
OKLCHoklch(43.04% 0.079 112.1)
XYZxyz(6.7503, 8.1647, 2.1974)
Luminance0.0817 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51541A #1D1A54
analogous
#543A1A #51541A #34541A
triadic
#51541A #1A5154 #541A51
tetradic
#51541A #1A543A #1D1A54 #541A34
square
#51541A #1A543A #1D1A54 #541A34
split-complementary
#51541A #1A3454 #3A1A54
monochromatic
#171707 #24250C #51541A #7E8328 #ABB137

Accessibility & contrast

On white

7.98
#51541A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#51541A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51541A
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51541A#FFFFFF#000000##FFFFFF
##51541A1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5013
Deuteranopia (green-blind)
#5B511E
Tritanopia (blue-blind)
#574F48
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #51541a;
/* rgb */ color: rgb(81, 84, 26);
/* oklch */ color: oklch(43.0% 0.079 112.1);
Tailwind
colors: {
  custom: {
    50: '#84845a',
    500: '#51541a',
    950: '#000000',
  },
}
SCSS
$custom: #51541a;
$custom-light: #84845a;
$custom-dark: #000000;
JSON
{
  "hex": "#51541a",
  "rgb": {
    "r": 81,
    "g": 84,
    "b": 26
  },
  "hsl": {
    "h": 63.103,
    "s": 52.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.43043,
    "c": 0.07915,
    "h": 112.1
  },
  "luminance": 0.08165
}

Semantic roles & 50–950 ramp

primary
#51541A
secondary
#44408A
accent
#4CDC53
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #51541A

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

Preview Lab → · Contrast checker → · Palette generator →

#51541A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva