#514412#514412

#514412 is a dark, moderate yellow. Relative luminance 0.059; OKLCH L 39.0% C 0.069 H 94.1°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#514412
RGBrgb(81, 68, 18)
HSLhsl(48, 64%, 19%)
HSVhsv(48, 78%, 32%)
CMYKcmyk(0%, 16%, 77.8%, 68.2%)
CIE-LABlab(29.23, -0.74, 30.87)
CIE-LCHlch(29.23, 30.88, 91.38°)
OKLaboklab(38.97% -0.005 0.0688)
OKLCHoklch(38.97% 0.069 94.1)
XYZxyz(5.5699, 5.9276, 1.4229)
Luminance0.0593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514412 #121F51
analogous
#512512 #514412 #3F5112
triadic
#514412 #125144 #441251
tetradic
#514412 #125125 #121F51 #51123F
square
#514412 #125125 #121F51 #51123F
split-complementary
#514412 #123F51 #251251
monochromatic
#191506 #1F1A07 #514412 #836E1D #B59828

Accessibility & contrast

On white

9.61
#514412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#514412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514412
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514412#FFFFFF#000000##FFFFFF
##5144121.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C430B
Deuteranopia (green-blind)
#4F4715
Tritanopia (blue-blind)
#583E3A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #514412;
/* rgb */ color: rgb(81, 68, 18);
/* oklch */ color: oklch(39.0% 0.069 94.1);
Tailwind
colors: {
  custom: {
    50: '#847753',
    500: '#514412',
    950: '#000000',
  },
}
SCSS
$custom: #514412;
$custom-light: #847753;
$custom-dark: #000000;
JSON
{
  "hex": "#514412",
  "rgb": {
    "r": 81,
    "g": 68,
    "b": 18
  },
  "hsl": {
    "h": 47.619,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38969,
    "c": 0.06894,
    "h": 94.1
  },
  "luminance": 0.05927
}

Semantic roles & 50–950 ramp

primary
#514412
secondary
#35468A
accent
#63E741
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0803
muted
#7C7B78

Preview Lab

Preview with #514412

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

Preview Lab → · Contrast checker → · Palette generator →

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