#51551A#51551A

#51551A is a dark, moderate yellow. Relative luminance 0.083; OKLCH L 43.3% C 0.080 H 113.0°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#51551A
RGBrgb(81, 85, 26)
HSLhsl(64, 53%, 22%)
HSVhsv(64, 69%, 33%)
CMYKcmyk(4.7%, 0%, 69.4%, 66.7%)
CIE-LABlab(34.64, -10.43, 32.65)
CIE-LCHlch(34.64, 34.27, 107.72°)
OKLaboklab(43.3% -0.0314 0.074)
OKLCHoklch(43.3% 0.08 113)
XYZxyz(6.8285, 8.3211, 2.2235)
Luminance0.0832 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51551A #1E1A55
analogous
#553C1A #51551A #34551A
triadic
#51551A #1A5155 #551A51
tetradic
#51551A #1A553C #1E1A55 #551A34
square
#51551A #1A553C #1E1A55 #551A34
split-complementary
#51551A #1A3455 #3C1A55
monochromatic
#161707 #24260C #51551A #7E8428 #AAB337

Accessibility & contrast

On white

7.88
#51551A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#51551A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51551A
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51551A#FFFFFF#000000##FFFFFF
##51551A1.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5112
Deuteranopia (green-blind)
#5C521E
Tritanopia (blue-blind)
#575049
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #51551a;
/* rgb */ color: rgb(81, 85, 26);
/* oklch */ color: oklch(43.3% 0.080 113.0);
Tailwind
colors: {
  custom: {
    50: '#84845a',
    500: '#51551a',
    950: '#000000',
  },
}
SCSS
$custom: #51551a;
$custom-light: #84845a;
$custom-dark: #000000;
JSON
{
  "hex": "#51551a",
  "rgb": {
    "r": 81,
    "g": 85,
    "b": 26
  },
  "hsl": {
    "h": 64.068,
    "s": 53.153,
    "l": 21.765
  },
  "oklch": {
    "l": 0.43298,
    "c": 0.08043,
    "h": 113
  },
  "luminance": 0.08321
}

Semantic roles & 50–950 ramp

primary
#51551A
secondary
#45408B
accent
#4BDD55
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #51551A

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

Preview Lab → · Contrast checker → · Palette generator →

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