#514F16#514F16

#514F16 is a dark, moderate yellow. Relative luminance 0.074; OKLCH L 41.7% C 0.077 H 107.3°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#514F16
RGBrgb(81, 79, 22)
HSLhsl(58, 57%, 20%)
HSVhsv(58, 73%, 32%)
CMYKcmyk(0%, 2.5%, 72.8%, 68.2%)
CIE-LABlab(32.70, -7.19, 32.52)
CIE-LCHlch(32.70, 33.30, 102.47°)
OKLaboklab(41.74% -0.0228 0.073)
OKLCHoklch(41.74% 0.077 107.3)
XYZxyz(6.3344, 7.3994, 1.8535)
Luminance0.0740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514F16 #161851
analogous
#513116 #514F16 #355116
triadic
#514F16 #16514F #4F1651
tetradic
#514F16 #165131 #161851 #511635
square
#514F16 #165131 #161851 #511635
split-complementary
#514F16 #163551 #311651
monochromatic
#181707 #212009 #514F16 #817E23 #B1AD30

Accessibility & contrast

On white

8.47
#514F16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#514F16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514F16
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514F16#FFFFFF#000000##FFFFFF
##514F161.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C0E
Deuteranopia (green-blind)
#574E1A
Tritanopia (blue-blind)
#574943
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #514f16;
/* rgb */ color: rgb(81, 79, 22);
/* oklch */ color: oklch(41.7% 0.077 107.3);
Tailwind
colors: {
  custom: {
    50: '#848057',
    500: '#514f16',
    950: '#000000',
  },
}
SCSS
$custom: #514f16;
$custom-light: #848057;
$custom-dark: #000000;
JSON
{
  "hex": "#514f16",
  "rgb": {
    "r": 81,
    "g": 79,
    "b": 22
  },
  "hsl": {
    "h": 57.966,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.41735,
    "c": 0.07651,
    "h": 107.3
  },
  "luminance": 0.07399
}

Semantic roles & 50–950 ramp

primary
#514F16
secondary
#3A3D88
accent
#4CE147
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #514F16

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

Preview Lab → · Contrast checker → · Palette generator →

#514F16 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva