#514517#514517

#514517 is a dark, moderate yellow. Relative luminance 0.061; OKLCH L 39.3% C 0.066 H 94.5°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#514517
RGBrgb(81, 69, 23)
HSLhsl(48, 56%, 20%)
HSVhsv(48, 72%, 32%)
CMYKcmyk(0%, 14.8%, 71.6%, 68.2%)
CIE-LABlab(29.58, -1.04, 28.77)
CIE-LCHlch(29.58, 28.79, 92.06°)
OKLaboklab(39.26% -0.0051 0.0653)
OKLCHoklch(39.26% 0.066 94.5)
XYZxyz(5.6764, 6.0677, 1.6826)
Luminance0.0607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514517 #172351
analogous
#512817 #514517 #405117
triadic
#514517 #175145 #451751
tetradic
#514517 #175128 #172351 #511740
square
#514517 #175128 #172351 #511740
split-complementary
#514517 #174051 #281751
monochromatic
#181407 #211C09 #514517 #816E25 #B09632

Accessibility & contrast

On white

9.49
#514517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#514517 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514517
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514517#FFFFFF#000000##FFFFFF
##5145171.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4412
Deuteranopia (green-blind)
#504719
Tritanopia (blue-blind)
#583F3B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #514517;
/* rgb */ color: rgb(81, 69, 23);
/* oklch */ color: oklch(39.3% 0.066 94.5);
Tailwind
colors: {
  custom: {
    50: '#847856',
    500: '#514517',
    950: '#000000',
  },
}
SCSS
$custom: #514517;
$custom-light: #847856;
$custom-dark: #000000;
JSON
{
  "hex": "#514517",
  "rgb": {
    "r": 81,
    "g": 69,
    "b": 23
  },
  "hsl": {
    "h": 47.586,
    "s": 55.769,
    "l": 20.392
  },
  "oklch": {
    "l": 0.39263,
    "c": 0.06551,
    "h": 94.5
  },
  "luminance": 0.06067
}

Semantic roles & 50–950 ramp

primary
#514517
secondary
#3C4B88
accent
#68DF49
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0803
muted
#7C7B78

Preview Lab

Preview with #514517

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

Preview Lab → · Contrast checker → · Palette generator →

#514517 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva