#514B31#514B31

#514B31 is a dark, muted yellow. Relative luminance 0.070; OKLCH L 41.2% C 0.041 H 96.7°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#514B31
RGBrgb(81, 75, 49)
HSLhsl(49, 25%, 25%)
HSVhsv(49, 40%, 32%)
CMYKcmyk(0%, 7.4%, 39.5%, 68.2%)
CIE-LABlab(31.81, -2.01, 16.42)
CIE-LCHlch(31.81, 16.54, 96.97°)
OKLaboklab(41.15% -0.0048 0.0407)
OKLCHoklch(41.15% 0.041 96.7)
XYZxyz(6.4639, 7.0034, 3.9164)
Luminance0.0700 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514B31 #313751
analogous
#513B31 #514B31 #475131
triadic
#514B31 #31514B #4B3151
tetradic
#514B31 #31513B #313751 #513147
square
#514B31 #31513B #313751 #513147
split-complementary
#514B31 #314751 #3B3151
monochromatic
#13120C #2B281A #514B31 #776E48 #9D925F

Accessibility & contrast

On white

8.75
#514B31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#514B31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514B31
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514B31#FFFFFF#000000##FFFFFF
##514B311.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504A2F
Deuteranopia (green-blind)
#524C32
Tritanopia (blue-blind)
#564744
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #514b31;
/* rgb */ color: rgb(81, 75, 49);
/* oklch */ color: oklch(41.2% 0.041 96.7);
Tailwind
colors: {
  custom: {
    50: '#827d69',
    500: '#514b31',
    950: '#000000',
  },
}
SCSS
$custom: #514b31;
$custom-light: #827d69;
$custom-dark: #000000;
JSON
{
  "hex": "#514b31",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 49
  },
  "hsl": {
    "h": 48.75,
    "s": 24.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.41151,
    "c": 0.04093,
    "h": 96.7
  },
  "luminance": 0.07003
}

Semantic roles & 50–950 ramp

primary
#514B31
secondary
#5C6382
accent
#78C167
background
#F8F7F6
surface
#EFEEEB
border
#CAC9C6
text
#0A0906
muted
#7C7B7A

Preview Lab

Preview with #514B31

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

Preview Lab → · Contrast checker → · Palette generator →

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