#514912#514912

#514912 is a dark, moderate yellow. Relative luminance 0.066; OKLCH L 40.2% C 0.073 H 100.8°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#514912
RGBrgb(81, 73, 18)
HSLhsl(52, 64%, 19%)
HSVhsv(52, 78%, 32%)
CMYKcmyk(0%, 9.9%, 77.8%, 68.2%)
CIE-LABlab(30.78, -3.83, 32.41)
CIE-LCHlch(30.78, 32.64, 96.73°)
OKLaboklab(40.2% -0.0138 0.072)
OKLCHoklch(40.2% 0.073 100.8)
XYZxyz(5.8853, 6.5584, 1.5280)
Luminance0.0656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514912 #121A51
analogous
#512A12 #514912 #3A5112
triadic
#514912 #125149 #491251
tetradic
#514912 #12512A #121A51 #51123A
square
#514912 #12512A #121A51 #51123A
split-complementary
#514912 #123A51 #2A1251
monochromatic
#191706 #1F1C07 #514912 #83761D #B5A328

Accessibility & contrast

On white

9.08
#514912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#514912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514912
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514912#FFFFFF#000000##FFFFFF
##5149121.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514709
Deuteranopia (green-blind)
#534A15
Tritanopia (blue-blind)
#58433E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #514912;
/* rgb */ color: rgb(81, 73, 18);
/* oklch */ color: oklch(40.2% 0.073 100.8);
Tailwind
colors: {
  custom: {
    50: '#847b54',
    500: '#514912',
    950: '#000000',
  },
}
SCSS
$custom: #514912;
$custom-light: #847b54;
$custom-dark: #000000;
JSON
{
  "hex": "#514912",
  "rgb": {
    "r": 81,
    "g": 73,
    "b": 18
  },
  "hsl": {
    "h": 52.381,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.40197,
    "c": 0.07332,
    "h": 100.8
  },
  "luminance": 0.06558
}

Semantic roles & 50–950 ramp

primary
#514912
secondary
#35408A
accent
#56E741
background
#F8F7F4
surface
#EFEDE8
border
#CAC8C4
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #514912

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

Preview Lab → · Contrast checker → · Palette generator →

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