#514814#514814

#514814 is a dark, moderate yellow. Relative luminance 0.064; OKLCH L 40.0% C 0.071 H 99.3°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#514814
RGBrgb(81, 72, 20)
HSLhsl(51, 60%, 20%)
HSVhsv(51, 75%, 32%)
CMYKcmyk(0%, 11.1%, 75.3%, 68.2%)
CIE-LABlab(30.48, -3.09, 31.20)
CIE-LCHlch(30.48, 31.35, 95.66°)
OKLaboklab(39.97% -0.0114 0.0699)
OKLCHoklch(39.97% 0.071 99.3)
XYZxyz(5.8372, 6.4348, 1.5963)
Luminance0.0644 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514814 #141D51
analogous
#512A14 #514814 #3B5114
triadic
#514814 #145148 #481451
tetradic
#514814 #14512A #141D51 #51143B
square
#514814 #14512A #141D51 #51143B
split-complementary
#514814 #143B51 #2A1451
monochromatic
#191606 #201C08 #514814 #827420 #B39F2C

Accessibility & contrast

On white

9.18
#514814 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#514814 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514814
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514814#FFFFFF#000000##FFFFFF
##5148141.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50460D
Deuteranopia (green-blind)
#524917
Tritanopia (blue-blind)
#58423D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #514814;
/* rgb */ color: rgb(81, 72, 20);
/* oklch */ color: oklch(40.0% 0.071 99.3);
Tailwind
colors: {
  custom: {
    50: '#847a55',
    500: '#514814',
    950: '#000000',
  },
}
SCSS
$custom: #514814;
$custom-light: #847a55;
$custom-dark: #000000;
JSON
{
  "hex": "#514814",
  "rgb": {
    "r": 81,
    "g": 72,
    "b": 20
  },
  "hsl": {
    "h": 51.148,
    "s": 60.396,
    "l": 19.804
  },
  "oklch": {
    "l": 0.39968,
    "c": 0.07079,
    "h": 99.3
  },
  "luminance": 0.06435
}

Semantic roles & 50–950 ramp

primary
#514814
secondary
#384489
accent
#5CE444
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #514814

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

Preview Lab → · Contrast checker → · Palette generator →

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