#514E15#514E15

#514E15 is a dark, moderate yellow. Relative luminance 0.073; OKLCH L 41.5% C 0.076 H 106.3°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#514E15
RGBrgb(81, 78, 21)
HSLhsl(57, 59%, 20%)
HSVhsv(57, 74%, 32%)
CMYKcmyk(0%, 3.7%, 74.1%, 68.2%)
CIE-LABlab(32.38, -6.66, 32.65)
CIE-LCHlch(32.38, 33.32, 101.54°)
OKLaboklab(41.47% -0.0214 0.0731)
OKLCHoklch(41.47% 0.076 106.3)
XYZxyz(6.2533, 7.2525, 1.7798)
Luminance0.0725 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514E15 #151851
analogous
#513015 #514E15 #365115
triadic
#514E15 #15514E #4E1551
tetradic
#514E15 #155130 #151851 #511536
square
#514E15 #155130 #151851 #511536
split-complementary
#514E15 #153651 #301551
monochromatic
#181706 #201F08 #514E15 #827D22 #B2AC2E

Accessibility & contrast

On white

8.57
#514E15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #514E15
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514E15#FFFFFF#000000##FFFFFF
##514E151.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B0D
Deuteranopia (green-blind)
#564D19
Tritanopia (blue-blind)
#574843
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #514e15;
/* rgb */ color: rgb(81, 78, 21);
/* oklch */ color: oklch(41.5% 0.076 106.3);
Tailwind
colors: {
  custom: {
    50: '#847f56',
    500: '#514e15',
    950: '#000000',
  },
}
SCSS
$custom: #514e15;
$custom-light: #847f56;
$custom-dark: #000000;
JSON
{
  "hex": "#514e15",
  "rgb": {
    "r": 81,
    "g": 78,
    "b": 21
  },
  "hsl": {
    "h": 57,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.41473,
    "c": 0.07619,
    "h": 106.3
  },
  "luminance": 0.07252
}

Semantic roles & 50–950 ramp

primary
#514E15
secondary
#393D89
accent
#4EE246
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #514E15

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

Preview Lab → · Contrast checker → · Palette generator →

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