#514211#514211

#514211 is a dark, moderate yellow. Relative luminance 0.057; OKLCH L 38.5% C 0.068 H 91.4°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#514211
RGBrgb(81, 66, 17)
HSLhsl(46, 65%, 19%)
HSVhsv(46, 79%, 32%)
CMYKcmyk(0%, 18.5%, 79%, 68.2%)
CIE-LABlab(28.61, 0.45, 30.72)
CIE-LCHlch(28.61, 30.72, 89.16°)
OKLaboklab(38.48% -0.0017 0.0682)
OKLCHoklch(38.48% 0.068 91.4)
XYZxyz(5.4430, 5.6866, 1.3411)
Luminance0.0569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514211 #112051
analogous
#512211 #514211 #405111
triadic
#514211 #115142 #421151
tetradic
#514211 #115122 #112051 #511140
square
#514211 #115122 #112051 #511140
split-complementary
#514211 #114051 #221151
monochromatic
#191505 #1E1906 #514211 #846B1C #B69426

Accessibility & contrast

On white

9.83
#514211 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#514211 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514211
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514211#FFFFFF#000000##FFFFFF
##5142111.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A410A
Deuteranopia (green-blind)
#4E4514
Tritanopia (blue-blind)
#583C38
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #514211;
/* rgb */ color: rgb(81, 66, 17);
/* oklch */ color: oklch(38.5% 0.068 91.4);
Tailwind
colors: {
  custom: {
    50: '#857652',
    500: '#514211',
    950: '#000000',
  },
}
SCSS
$custom: #514211;
$custom-light: #857652;
$custom-dark: #000000;
JSON
{
  "hex": "#514211",
  "rgb": {
    "r": 81,
    "g": 66,
    "b": 17
  },
  "hsl": {
    "h": 45.938,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38475,
    "c": 0.06824,
    "h": 91.4
  },
  "luminance": 0.05686
}

Semantic roles & 50–950 ramp

primary
#514211
secondary
#34488A
accent
#67E840
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #514211

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

Preview Lab → · Contrast checker → · Palette generator →

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