#51550E#51550E

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

Color values

HEX#51550E
RGBrgb(81, 85, 14)
HSLhsl(63, 72%, 19%)
HSVhsv(63, 84%, 33%)
CMYKcmyk(4.7%, 0%, 83.5%, 66.7%)
CIE-LABlab(34.56, -11.15, 37.58)
CIE-LCHlch(34.56, 39.20, 106.52°)
OKLaboklab(43.2% -0.0347 0.0821)
OKLCHoklch(43.2% 0.089 112.9)
XYZxyz(6.7213, 8.2782, 1.6592)
Luminance0.0828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51550E #120E55
analogous
#55360E #51550E #2E550E
triadic
#51550E #0E5155 #550E51
tetradic
#51550E #0E5536 #120E55 #550E2E
square
#51550E #0E5536 #120E55 #550E2E
split-complementary
#51550E #0E2E55 #360E55
monochromatic
#191A04 #1F2005 #51550E #838A17 #B5BE1F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51550E#FFFFFF#000000##FFFFFF
##51550E1.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: #51550e;
/* rgb */ color: rgb(81, 85, 14);
/* oklch */ color: oklch(43.2% 0.089 112.9);
Tailwind
colors: {
  custom: {
    50: '#858454',
    500: '#51550e',
    950: '#000000',
  },
}
SCSS
$custom: #51550e;
$custom-light: #858454;
$custom-dark: #000000;
JSON
{
  "hex": "#51550e",
  "rgb": {
    "r": 81,
    "g": 85,
    "b": 14
  },
  "hsl": {
    "h": 63.38,
    "s": 71.717,
    "l": 19.412
  },
  "oklch": {
    "l": 0.43201,
    "c": 0.08916,
    "h": 112.9
  },
  "luminance": 0.08278
}

Semantic roles & 50–950 ramp

primary
#51550E
secondary
#35308F
accent
#39EE44
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #51550E

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

Preview Lab → · Contrast checker → · Palette generator →

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