#514212#514212

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

Color values

HEX#514212
RGBrgb(81, 66, 18)
HSLhsl(46, 64%, 19%)
HSVhsv(46, 78%, 32%)
CMYKcmyk(0%, 18.5%, 77.8%, 68.2%)
CIE-LABlab(28.62, 0.51, 30.26)
CIE-LCHlch(28.62, 30.26, 89.04°)
OKLaboklab(38.49% -0.0014 0.0675)
OKLCHoklch(38.49% 0.067 91.2)
XYZxyz(5.4510, 5.6898, 1.3833)
Luminance0.0569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514212 #122151
analogous
#512312 #514212 #415112
triadic
#514212 #125142 #421251
tetradic
#514212 #125123 #122151 #511241
square
#514212 #125123 #122151 #511241
split-complementary
#514212 #124151 #231251
monochromatic
#191406 #1F1907 #514212 #836B1D #B59428

Accessibility & contrast

On white

9.82
#514212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #514212
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514212#FFFFFF#000000##FFFFFF
##5142121.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #514212;
/* rgb */ color: rgb(81, 66, 18);
/* oklch */ color: oklch(38.5% 0.067 91.2);
Tailwind
colors: {
  custom: {
    50: '#857653',
    500: '#514212',
    950: '#000000',
  },
}
SCSS
$custom: #514212;
$custom-light: #857653;
$custom-dark: #000000;
JSON
{
  "hex": "#514212",
  "rgb": {
    "r": 81,
    "g": 66,
    "b": 18
  },
  "hsl": {
    "h": 45.714,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38485,
    "c": 0.06747,
    "h": 91.2
  },
  "luminance": 0.05689
}

Semantic roles & 50–950 ramp

primary
#514212
secondary
#35498A
accent
#69E741
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #514212

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

Preview Lab → · Contrast checker → · Palette generator →

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