#51541D#51541D

#51541D is a dark, moderate yellow. Relative luminance 0.082; OKLCH L 43.1% C 0.076 H 112.1°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#51541D
RGBrgb(81, 84, 29)
HSLhsl(63, 49%, 22%)
HSVhsv(63, 65%, 33%)
CMYKcmyk(3.6%, 0%, 65.5%, 67.1%)
CIE-LABlab(34.35, -9.62, 30.87)
CIE-LCHlch(34.35, 32.33, 107.30°)
OKLaboklab(43.08% -0.0288 0.0708)
OKLCHoklch(43.08% 0.076 112.1)
XYZxyz(6.7856, 8.1788, 2.3834)
Luminance0.0818 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51541D #201D54
analogous
#543C1D #51541D #36541D
triadic
#51541D #1D5154 #541D51
tetradic
#51541D #1D543C #201D54 #541D36
square
#51541D #1D543C #201D54 #541D36
split-complementary
#51541D #1D3654 #3C1D54
monochromatic
#161708 #25270D #51541D #7D812D #A9AF3C

Accessibility & contrast

On white

7.97
#51541D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#51541D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51541D
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51541D#FFFFFF#000000##FFFFFF
##51541D1.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #51541d;
/* rgb */ color: rgb(81, 84, 29);
/* oklch */ color: oklch(43.1% 0.076 112.1);
Tailwind
colors: {
  custom: {
    50: '#84845c',
    500: '#51541d',
    950: '#000000',
  },
}
SCSS
$custom: #51541d;
$custom-light: #84845c;
$custom-dark: #000000;
JSON
{
  "hex": "#51541d",
  "rgb": {
    "r": 81,
    "g": 84,
    "b": 29
  },
  "hsl": {
    "h": 63.273,
    "s": 48.673,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43075,
    "c": 0.07638,
    "h": 112.1
  },
  "luminance": 0.08179
}

Semantic roles & 50–950 ramp

primary
#51541D
secondary
#474489
accent
#50D857
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #51541D

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

Preview Lab → · Contrast checker → · Palette generator →

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