#514B28#514B28

#514B28 is a dark, muted yellow. Relative luminance 0.069; OKLCH L 41.0% C 0.053 H 99.8°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#514B28
RGBrgb(81, 75, 40)
HSLhsl(51, 34%, 24%)
HSVhsv(51, 51%, 32%)
CMYKcmyk(0%, 7.4%, 50.6%, 68.2%)
CIE-LABlab(31.66, -3.15, 21.67)
CIE-LCHlch(31.66, 21.90, 98.28°)
OKLaboklab(40.98% -0.009 0.0521)
OKLCHoklch(40.98% 0.053 99.8)
XYZxyz(6.2926, 6.9349, 3.0142)
Luminance0.0693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514B28 #282E51
analogous
#513628 #514B28 #425128
triadic
#514B28 #28514B #4B2851
tetradic
#514B28 #285136 #282E51 #512842
square
#514B28 #285136 #282E51 #512842
split-complementary
#514B28 #284251 #362851
monochromatic
#14130A #282514 #514B28 #7A713C #A39750

Accessibility & contrast

On white

8.80
#514B28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#514B28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514B28
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514B28#FFFFFF#000000##FFFFFF
##514B281.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514925
Deuteranopia (green-blind)
#534C29
Tritanopia (blue-blind)
#564743
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #514b28;
/* rgb */ color: rgb(81, 75, 40);
/* oklch */ color: oklch(41.0% 0.053 99.8);
Tailwind
colors: {
  custom: {
    50: '#837d62',
    500: '#514b28',
    950: '#000000',
  },
}
SCSS
$custom: #514b28;
$custom-light: #837d62;
$custom-dark: #000000;
JSON
{
  "hex": "#514b28",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 40
  },
  "hsl": {
    "h": 51.22,
    "s": 33.884,
    "l": 23.725
  },
  "oklch": {
    "l": 0.40976,
    "c": 0.05286,
    "h": 99.8
  },
  "luminance": 0.06935
}

Semantic roles & 50–950 ramp

primary
#514B28
secondary
#515984
accent
#6ECA5E
background
#F8F7F5
surface
#EFEEEA
border
#CAC9C6
text
#0B0905
muted
#7C7B79

Preview Lab

Preview with #514B28

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

Preview Lab → · Contrast checker → · Palette generator →

#514B28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva