#51550D#51550D

#51550D 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#51550D
RGBrgb(81, 85, 13)
HSLhsl(63, 73%, 19%)
HSVhsv(63, 85%, 33%)
CMYKcmyk(4.7%, 0%, 84.7%, 66.7%)
CIE-LABlab(34.55, -11.19, 37.92)
CIE-LCHlch(34.55, 39.54, 106.44°)
OKLaboklab(43.2% -0.0349 0.0827)
OKLCHoklch(43.2% 0.09 112.9)
XYZxyz(6.7147, 8.2755, 1.6243)
Luminance0.0828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51550D #110D55
analogous
#55350D #51550D #2D550D
triadic
#51550D #0D5155 #550D51
tetradic
#51550D #0D5535 #110D55 #550D2D
square
#51550D #0D5535 #110D55 #550D2D
split-complementary
#51550D #0D2D55 #350D55
monochromatic
#191B04 #1E2005 #51550D #848A15 #B6BF1D

Accessibility & contrast

On white

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

On black

2.66
#51550D on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##51550D#FFFFFF#000000##FFFFFF
##51550D1.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #51550d;
/* rgb */ color: rgb(81, 85, 13);
/* oklch */ color: oklch(43.2% 0.090 112.9);
Tailwind
colors: {
  custom: {
    50: '#858453',
    500: '#51550d',
    950: '#000000',
  },
}
SCSS
$custom: #51550d;
$custom-light: #858453;
$custom-dark: #000000;
JSON
{
  "hex": "#51550d",
  "rgb": {
    "r": 81,
    "g": 85,
    "b": 13
  },
  "hsl": {
    "h": 63.333,
    "s": 73.469,
    "l": 19.216
  },
  "oklch": {
    "l": 0.43195,
    "c": 0.08973,
    "h": 112.9
  },
  "luminance": 0.08275
}

Semantic roles & 50–950 ramp

primary
#51550D
secondary
#342E90
accent
#38F042
background
#F8F8F4
surface
#EFEFE8
border
#CACAC4
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #51550D

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

Preview Lab → · Contrast checker → · Palette generator →

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