#514B26#514B26

#514B26 is a dark, muted yellow. Relative luminance 0.069; OKLCH L 40.9% C 0.055 H 100.3°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#514B26
RGBrgb(81, 75, 38)
HSLhsl(52, 36%, 23%)
HSVhsv(52, 53%, 32%)
CMYKcmyk(0%, 7.4%, 53.1%, 68.2%)
CIE-LABlab(31.63, -3.38, 22.81)
CIE-LCHlch(31.63, 23.06, 98.42°)
OKLaboklab(40.94% -0.0098 0.0545)
OKLCHoklch(40.94% 0.055 100.3)
XYZxyz(6.2594, 6.9216, 2.8396)
Luminance0.0692 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514B26 #262C51
analogous
#513526 #514B26 #415126
triadic
#514B26 #26514B #4B2651
tetradic
#514B26 #265135 #262C51 #512641
square
#514B26 #265135 #262C51 #512641
split-complementary
#514B26 #264151 #352651
monochromatic
#15130A #272412 #514B26 #7B723A #A4984D

Accessibility & contrast

On white

8.81
#514B26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#514B26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514B26
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514B26#FFFFFF#000000##FFFFFF
##514B261.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514923
Deuteranopia (green-blind)
#534B28
Tritanopia (blue-blind)
#574642
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #514b26;
/* rgb */ color: rgb(81, 75, 38);
/* oklch */ color: oklch(40.9% 0.055 100.3);
Tailwind
colors: {
  custom: {
    50: '#837d61',
    500: '#514b26',
    950: '#000000',
  },
}
SCSS
$custom: #514b26;
$custom-light: #837d61;
$custom-dark: #000000;
JSON
{
  "hex": "#514b26",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 38
  },
  "hsl": {
    "h": 51.628,
    "s": 36.134,
    "l": 23.333
  },
  "oklch": {
    "l": 0.40942,
    "c": 0.05533,
    "h": 100.3
  },
  "luminance": 0.06921
}

Semantic roles & 50–950 ramp

primary
#514B26
secondary
#4F5684
accent
#6BCC5C
background
#F8F7F5
surface
#EFEEEA
border
#CAC9C6
text
#0B0905
muted
#7C7B79

Preview Lab

Preview with #514B26

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

Preview Lab → · Contrast checker → · Palette generator →

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