#51542E#51542E

#51542E is a dark, muted yellow. Relative luminance 0.083; OKLCH L 43.3% C 0.057 H 112.5°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#51542E
RGBrgb(81, 84, 46)
HSLhsl(65, 29%, 25%)
HSVhsv(65, 45%, 33%)
CMYKcmyk(3.6%, 0%, 45.2%, 67.1%)
CIE-LABlab(34.57, -7.84, 21.77)
CIE-LCHlch(34.57, 23.14, 109.81°)
OKLaboklab(43.32% -0.0218 0.0528)
OKLCHoklch(43.32% 0.057 112.5)
XYZxyz(7.0569, 8.2873, 3.8121)
Luminance0.0829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51542E #312E54
analogous
#54442E #51542E #3E542E
triadic
#51542E #2E5154 #542E51
tetradic
#51542E #2E5444 #312E54 #542E3E
square
#51542E #2E5444 #312E54 #542E3E
split-complementary
#51542E #2E3E54 #442E54
monochromatic
#13140B #2B2C18 #51542E #777C44 #9DA359

Accessibility & contrast

On white

7.90
#51542E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #51542E
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51542E#FFFFFF#000000##FFFFFF
##51542E1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59512B
Deuteranopia (green-blind)
#595230
Tritanopia (blue-blind)
#55504B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #51542e;
/* rgb */ color: rgb(81, 84, 46);
/* oklch */ color: oklch(43.3% 0.057 112.5);
Tailwind
colors: {
  custom: {
    50: '#838467',
    500: '#51542e',
    950: '#000000',
  },
}
SCSS
$custom: #51542e;
$custom-light: #838467;
$custom-dark: #000000;
JSON
{
  "hex": "#51542e",
  "rgb": {
    "r": 81,
    "g": 84,
    "b": 46
  },
  "hsl": {
    "h": 64.737,
    "s": 29.231,
    "l": 25.49
  },
  "oklch": {
    "l": 0.43324,
    "c": 0.05709,
    "h": 112.5
  },
  "luminance": 0.08287
}

Semantic roles & 50–950 ramp

primary
#51542E
secondary
#5C5886
accent
#62C56A
background
#F8F8F6
surface
#EFEFEB
border
#CACAC6
text
#0A0A06
muted
#7C7C7A

Preview Lab

Preview with #51542E

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

Preview Lab → · Contrast checker → · Palette generator →

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