#514917#514917

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

Color values

HEX#514917
RGBrgb(81, 73, 23)
HSLhsl(52, 56%, 20%)
HSVhsv(52, 72%, 32%)
CMYKcmyk(0%, 9.9%, 71.6%, 68.2%)
CIE-LABlab(30.82, -3.50, 30.09)
CIE-LCHlch(30.82, 30.29, 96.64°)
OKLaboklab(40.24% -0.0122 0.0681)
OKLCHoklch(40.24% 0.069 100.2)
XYZxyz(5.9308, 6.5765, 1.7674)
Luminance0.0658 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514917 #171F51
analogous
#512C17 #514917 #3C5117
triadic
#514917 #175149 #491751
tetradic
#514917 #17512C #171F51 #51173C
square
#514917 #17512C #171F51 #51173C
split-complementary
#514917 #173C51 #2C1751
monochromatic
#181507 #211E09 #514917 #817425 #B09F32

Accessibility & contrast

On white

9.07
#514917 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#514917 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514917
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514917#FFFFFF#000000##FFFFFF
##5149171.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504711
Deuteranopia (green-blind)
#534A1A
Tritanopia (blue-blind)
#58433F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #514917;
/* rgb */ color: rgb(81, 73, 23);
/* oklch */ color: oklch(40.2% 0.069 100.2);
Tailwind
colors: {
  custom: {
    50: '#847b57',
    500: '#514917',
    950: '#000000',
  },
}
SCSS
$custom: #514917;
$custom-light: #847b57;
$custom-dark: #000000;
JSON
{
  "hex": "#514917",
  "rgb": {
    "r": 81,
    "g": 73,
    "b": 23
  },
  "hsl": {
    "h": 51.724,
    "s": 55.769,
    "l": 20.392
  },
  "oklch": {
    "l": 0.40245,
    "c": 0.06918,
    "h": 100.2
  },
  "luminance": 0.06576
}

Semantic roles & 50–950 ramp

primary
#514917
secondary
#3C4688
accent
#5DDF49
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #514917

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

Preview Lab → · Contrast checker → · Palette generator →

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