#51551F#51551F

#51551F is a dark, moderate yellow. Relative luminance 0.083; OKLCH L 43.4% C 0.076 H 113.1°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#51551F
RGBrgb(81, 85, 31)
HSLhsl(64, 47%, 23%)
HSVhsv(64, 64%, 33%)
CMYKcmyk(4.7%, 0%, 63.5%, 66.7%)
CIE-LABlab(34.69, -10.03, 30.22)
CIE-LCHlch(34.69, 31.84, 108.36°)
OKLaboklab(43.35% -0.0297 0.0697)
OKLCHoklch(43.35% 0.076 113.1)
XYZxyz(6.8893, 8.3454, 2.5440)
Luminance0.0834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51551F #231F55
analogous
#553E1F #51551F #36551F
triadic
#51551F #1F5155 #551F51
tetradic
#51551F #1F553E #231F55 #551F36
square
#51551F #1F553E #231F55 #551F36
split-complementary
#51551F #1F3655 #3E1F55
monochromatic
#151608 #26280F #51551F #7C822F #A6AF40

Accessibility & contrast

On white

7.87
#51551F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #51551F
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51551F#FFFFFF#000000##FFFFFF
##51551F1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5119
Deuteranopia (green-blind)
#5B5222
Tritanopia (blue-blind)
#565049
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #51551f;
/* rgb */ color: rgb(81, 85, 31);
/* oklch */ color: oklch(43.4% 0.076 113.1);
Tailwind
colors: {
  custom: {
    50: '#83845d',
    500: '#51551f',
    950: '#000000',
  },
}
SCSS
$custom: #51551f;
$custom-light: #83845d;
$custom-dark: #000000;
JSON
{
  "hex": "#51551f",
  "rgb": {
    "r": 81,
    "g": 85,
    "b": 31
  },
  "hsl": {
    "h": 64.444,
    "s": 46.552,
    "l": 22.745
  },
  "oklch": {
    "l": 0.43353,
    "c": 0.07575,
    "h": 113.1
  },
  "luminance": 0.08345
}

Semantic roles & 50–950 ramp

primary
#51551F
secondary
#4B468A
accent
#52D65B
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #51551F

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

Preview Lab → · Contrast checker → · Palette generator →

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