#514612#514612

#514612 is a dark, moderate yellow. Relative luminance 0.062; OKLCH L 39.5% C 0.071 H 96.9°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#514612
RGBrgb(81, 70, 18)
HSLhsl(50, 64%, 19%)
HSVhsv(50, 78%, 32%)
CMYKcmyk(0%, 13.6%, 77.8%, 68.2%)
CIE-LABlab(29.85, -1.98, 31.49)
CIE-LCHlch(29.85, 31.55, 93.60°)
OKLaboklab(39.46% -0.0085 0.0701)
OKLCHoklch(39.46% 0.071 96.9)
XYZxyz(5.6930, 6.1736, 1.4639)
Luminance0.0617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514612 #121D51
analogous
#512712 #514612 #3D5112
triadic
#514612 #125146 #461251
tetradic
#514612 #125127 #121D51 #51123D
square
#514612 #125127 #121D51 #51123D
split-complementary
#514612 #123D51 #271251
monochromatic
#191606 #1F1B07 #514612 #83711D #B59D28

Accessibility & contrast

On white

9.40
#514612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#514612 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514612
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514612#FFFFFF#000000##FFFFFF
##5146121.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E440A
Deuteranopia (green-blind)
#514815
Tritanopia (blue-blind)
#58403C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #514612;
/* rgb */ color: rgb(81, 70, 18);
/* oklch */ color: oklch(39.5% 0.071 96.9);
Tailwind
colors: {
  custom: {
    50: '#847954',
    500: '#514612',
    950: '#000000',
  },
}
SCSS
$custom: #514612;
$custom-light: #847954;
$custom-dark: #000000;
JSON
{
  "hex": "#514612",
  "rgb": {
    "r": 81,
    "g": 70,
    "b": 18
  },
  "hsl": {
    "h": 49.524,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39457,
    "c": 0.07058,
    "h": 96.9
  },
  "luminance": 0.06173
}

Semantic roles & 50–950 ramp

primary
#514612
secondary
#35448A
accent
#5EE741
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #514612

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

Preview Lab → · Contrast checker → · Palette generator →

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