#51550C#51550C

#51550C is a dark, moderate yellow. Relative luminance 0.083; OKLCH L 43.2% C 0.090 H 112.9°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#51550C
RGBrgb(81, 85, 12)
HSLhsl(63, 75%, 19%)
HSVhsv(63, 86%, 33%)
CMYKcmyk(4.7%, 0%, 85.9%, 66.7%)
CIE-LABlab(34.55, -11.24, 38.25)
CIE-LCHlch(34.55, 39.87, 106.37°)
OKLaboklab(43.19% -0.0351 0.0832)
OKLCHoklch(43.19% 0.09 112.9)
XYZxyz(6.7084, 8.2730, 1.5912)
Luminance0.0827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51550C #100C55
analogous
#55350C #51550C #2D550C
triadic
#51550C #0C5155 #550C51
tetradic
#51550C #0C5535 #100C55 #550C2D
square
#51550C #0C5535 #100C55 #550C2D
split-complementary
#51550C #0C2D55 #350C55
monochromatic
#1A1B04 #1E1F04 #51550C #848B14 #B7C01B

Accessibility & contrast

On white

7.91
#51550C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#51550C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51550C
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51550C#FFFFFF#000000##FFFFFF
##51550C1.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #51550c;
/* rgb */ color: rgb(81, 85, 12);
/* oklch */ color: oklch(43.2% 0.090 112.9);
Tailwind
colors: {
  custom: {
    50: '#858453',
    500: '#51550c',
    950: '#000000',
  },
}
SCSS
$custom: #51550c;
$custom-light: #858453;
$custom-dark: #000000;
JSON
{
  "hex": "#51550c",
  "rgb": {
    "r": 81,
    "g": 85,
    "b": 12
  },
  "hsl": {
    "h": 63.288,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.43189,
    "c": 0.09027,
    "h": 112.9
  },
  "luminance": 0.08273
}

Semantic roles & 50–950 ramp

primary
#51550C
secondary
#322D90
accent
#36F240
background
#F8F8F4
surface
#EFEFE7
border
#CACAC3
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #51550C

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

Preview Lab → · Contrast checker → · Palette generator →

#51550C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva