#51531D#51531D

#51531D is a dark, moderate yellow. Relative luminance 0.080; OKLCH L 42.8% C 0.075 H 111.2°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#51531D
RGBrgb(81, 83, 29)
HSLhsl(62, 48%, 22%)
HSVhsv(62, 65%, 33%)
CMYKcmyk(2.4%, 0%, 65.1%, 67.5%)
CIE-LABlab(34.03, -9.03, 30.52)
CIE-LCHlch(34.03, 31.83, 106.49°)
OKLaboklab(42.82% -0.0271 0.07)
OKLCHoklch(42.82% 0.075 111.2)
XYZxyz(6.7085, 8.0247, 2.3577)
Luminance0.0803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51531D #1F1D53
analogous
#533A1D #51531D #36531D
triadic
#51531D #1D5153 #531D51
tetradic
#51531D #1D533A #1F1D53 #531D36
square
#51531D #1D533A #1F1D53 #531D36
split-complementary
#51531D #1D3653 #3A1D53
monochromatic
#161708 #25260D #51531D #7D802D #AAAE3D

Accessibility & contrast

On white

8.06
#51531D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#51531D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51531D
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51531D#FFFFFF#000000##FFFFFF
##51531D1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F17
Deuteranopia (green-blind)
#5A5120
Tritanopia (blue-blind)
#574E48
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #51531d;
/* rgb */ color: rgb(81, 83, 29);
/* oklch */ color: oklch(42.8% 0.075 111.2);
Tailwind
colors: {
  custom: {
    50: '#84835c',
    500: '#51531d',
    950: '#000000',
  },
}
SCSS
$custom: #51531d;
$custom-light: #84835c;
$custom-dark: #000000;
JSON
{
  "hex": "#51531d",
  "rgb": {
    "r": 81,
    "g": 83,
    "b": 29
  },
  "hsl": {
    "h": 62.222,
    "s": 48.214,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42821,
    "c": 0.07508,
    "h": 111.2
  },
  "luminance": 0.08025
}

Semantic roles & 50–950 ramp

primary
#51531D
secondary
#464488
accent
#50D855
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #51531D

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

Preview Lab → · Contrast checker → · Palette generator →

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