#514F11#514F11

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

Color values

HEX#514F11
RGBrgb(81, 79, 17)
HSLhsl(58, 65%, 19%)
HSVhsv(58, 79%, 32%)
CMYKcmyk(0%, 2.5%, 79%, 68.2%)
CIE-LABlab(32.66, -7.50, 34.67)
CIE-LCHlch(32.66, 35.47, 102.20°)
OKLaboklab(41.69% -0.0242 0.0766)
OKLCHoklch(41.69% 0.08 107.6)
XYZxyz(6.2907, 7.3820, 1.6237)
Luminance0.0738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514F11 #111351
analogous
#512F11 #514F11 #335111
triadic
#514F11 #11514F #4F1151
tetradic
#514F11 #11512F #111351 #511133
square
#514F11 #11512F #111351 #511133
split-complementary
#514F11 #113351 #2F1151
monochromatic
#191905 #1E1E06 #514F11 #84801C #B6B226

Accessibility & contrast

On white

8.48
#514F11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #514F11
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514F11#FFFFFF#000000##FFFFFF
##514F111.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #514f11;
/* rgb */ color: rgb(81, 79, 17);
/* oklch */ color: oklch(41.7% 0.080 107.6);
Tailwind
colors: {
  custom: {
    50: '#848054',
    500: '#514f11',
    950: '#000000',
  },
}
SCSS
$custom: #514f11;
$custom-light: #848054;
$custom-dark: #000000;
JSON
{
  "hex": "#514f11",
  "rgb": {
    "r": 81,
    "g": 79,
    "b": 17
  },
  "hsl": {
    "h": 58.125,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.41692,
    "c": 0.08032,
    "h": 107.6
  },
  "luminance": 0.07382
}

Semantic roles & 50–950 ramp

primary
#514F11
secondary
#34368A
accent
#45E840
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #514F11

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

Preview Lab → · Contrast checker → · Palette generator →

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