#514E11#514E11

#514E11 is a dark, moderate yellow. Relative luminance 0.072; OKLCH L 41.4% C 0.079 H 106.5°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#514E11
RGBrgb(81, 78, 17)
HSLhsl(57, 65%, 19%)
HSVhsv(57, 79%, 32%)
CMYKcmyk(0%, 3.7%, 79%, 68.2%)
CIE-LABlab(32.34, -6.90, 34.37)
CIE-LCHlch(32.34, 35.05, 101.35°)
OKLaboklab(41.44% -0.0226 0.0759)
OKLCHoklch(41.44% 0.079 106.5)
XYZxyz(6.2192, 7.2388, 1.5998)
Luminance0.0724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514E11 #111451
analogous
#512E11 #514E11 #345111
triadic
#514E11 #11514E #4E1151
tetradic
#514E11 #11512E #111451 #511134
square
#514E11 #11512E #111451 #511134
split-complementary
#514E11 #113451 #2E1151
monochromatic
#191805 #1E1D06 #514E11 #847F1C #B6AF26

Accessibility & contrast

On white

8.58
#514E11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#514E11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514E11
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514E11#FFFFFF#000000##FFFFFF
##514E111.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B06
Deuteranopia (green-blind)
#574D15
Tritanopia (blue-blind)
#584842
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #514e11;
/* rgb */ color: rgb(81, 78, 17);
/* oklch */ color: oklch(41.4% 0.079 106.5);
Tailwind
colors: {
  custom: {
    50: '#847f54',
    500: '#514e11',
    950: '#000000',
  },
}
SCSS
$custom: #514e11;
$custom-light: #847f54;
$custom-dark: #000000;
JSON
{
  "hex": "#514e11",
  "rgb": {
    "r": 81,
    "g": 78,
    "b": 17
  },
  "hsl": {
    "h": 57.188,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.4144,
    "c": 0.07922,
    "h": 106.5
  },
  "luminance": 0.07239
}

Semantic roles & 50–950 ramp

primary
#514E11
secondary
#34388A
accent
#47E840
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #514E11

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

Preview Lab → · Contrast checker → · Palette generator →

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