#514512#514512

#514512 is a dark, moderate yellow. Relative luminance 0.060; OKLCH L 39.2% C 0.070 H 95.6°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#514512
RGBrgb(81, 69, 18)
HSLhsl(49, 64%, 19%)
HSVhsv(49, 78%, 32%)
CMYKcmyk(0%, 14.8%, 77.8%, 68.2%)
CIE-LABlab(29.54, -1.36, 31.18)
CIE-LCHlch(29.54, 31.21, 92.50°)
OKLaboklab(39.21% -0.0068 0.0694)
OKLCHoklch(39.21% 0.07 95.6)
XYZxyz(5.6309, 6.0495, 1.4432)
Luminance0.0605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514512 #121E51
analogous
#512612 #514512 #3E5112
triadic
#514512 #125145 #451251
tetradic
#514512 #125126 #121E51 #51123E
square
#514512 #125126 #121E51 #51123E
split-complementary
#514512 #123E51 #261251
monochromatic
#191506 #1F1A07 #514512 #83701D #B59A28

Accessibility & contrast

On white

9.50
#514512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #514512
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514512#FFFFFF#000000##FFFFFF
##5145121.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #514512;
/* rgb */ color: rgb(81, 69, 18);
/* oklch */ color: oklch(39.2% 0.070 95.6);
Tailwind
colors: {
  custom: {
    50: '#847853',
    500: '#514512',
    950: '#000000',
  },
}
SCSS
$custom: #514512;
$custom-light: #847853;
$custom-dark: #000000;
JSON
{
  "hex": "#514512",
  "rgb": {
    "r": 81,
    "g": 69,
    "b": 18
  },
  "hsl": {
    "h": 48.571,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39213,
    "c": 0.06974,
    "h": 95.6
  },
  "luminance": 0.06049
}

Semantic roles & 50–950 ramp

primary
#514512
secondary
#35458A
accent
#61E741
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0803
muted
#7C7B78

Preview Lab

Preview with #514512

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

Preview Lab → · Contrast checker → · Palette generator →

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