#51551B#51551B

#51551B 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#51551B
RGBrgb(81, 85, 27)
HSLhsl(64, 52%, 22%)
HSVhsv(64, 68%, 33%)
CMYKcmyk(4.7%, 0%, 68.2%, 66.7%)
CIE-LABlab(34.65, -10.36, 32.18)
CIE-LCHlch(34.65, 33.80, 107.84°)
OKLaboklab(43.31% -0.0311 0.0732)
OKLCHoklch(43.31% 0.08 113)
XYZxyz(6.8398, 8.3256, 2.2834)
Luminance0.0833 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51551B #1F1B55
analogous
#553C1B #51551B #34551B
triadic
#51551B #1B5155 #551B51
tetradic
#51551B #1B553C #1F1B55 #551B34
square
#51551B #1B553C #1F1B55 #551B34
split-complementary
#51551B #1B3455 #3C1B55
monochromatic
#161707 #25270C #51551B #7D832A #AAB239

Accessibility & contrast

On white

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

On black

2.67
#51551B on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##51551B#FFFFFF#000000##FFFFFF
##51551B1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #51551b;
/* rgb */ color: rgb(81, 85, 27);
/* oklch */ color: oklch(43.3% 0.080 113.0);
Tailwind
colors: {
  custom: {
    50: '#84845b',
    500: '#51551b',
    950: '#000000',
  },
}
SCSS
$custom: #51551b;
$custom-light: #84845b;
$custom-dark: #000000;
JSON
{
  "hex": "#51551b",
  "rgb": {
    "r": 81,
    "g": 85,
    "b": 27
  },
  "hsl": {
    "h": 64.138,
    "s": 51.786,
    "l": 21.961
  },
  "oklch": {
    "l": 0.43308,
    "c": 0.07953,
    "h": 113
  },
  "luminance": 0.08325
}

Semantic roles & 50–950 ramp

primary
#51551B
secondary
#46418B
accent
#4DDB56
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #51551B

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

Preview Lab → · Contrast checker → · Palette generator →

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