#514F15#514F15

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

Color values

HEX#514F15
RGBrgb(81, 79, 21)
HSLhsl(58, 59%, 20%)
HSVhsv(58, 74%, 32%)
CMYKcmyk(0%, 2.5%, 74.1%, 68.2%)
CIE-LABlab(32.69, -7.26, 32.97)
CIE-LCHlch(32.69, 33.76, 102.42°)
OKLaboklab(41.73% -0.0231 0.0738)
OKLCHoklch(41.73% 0.077 107.4)
XYZxyz(6.3249, 7.3956, 1.8037)
Luminance0.0740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514F15 #151751
analogous
#513115 #514F15 #355115
triadic
#514F15 #15514F #4F1551
tetradic
#514F15 #155131 #151751 #511535
square
#514F15 #155131 #151751 #511535
split-complementary
#514F15 #153551 #311551
monochromatic
#181806 #202008 #514F15 #827E22 #B2AE2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##514F15#FFFFFF#000000##FFFFFF
##514F151.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)
#564C0C
Deuteranopia (green-blind)
#574E19
Tritanopia (blue-blind)
#574943
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #514f15;
/* rgb */ color: rgb(81, 79, 21);
/* oklch */ color: oklch(41.7% 0.077 107.4);
Tailwind
colors: {
  custom: {
    50: '#848056',
    500: '#514f15',
    950: '#000000',
  },
}
SCSS
$custom: #514f15;
$custom-light: #848056;
$custom-dark: #000000;
JSON
{
  "hex": "#514f15",
  "rgb": {
    "r": 81,
    "g": 79,
    "b": 21
  },
  "hsl": {
    "h": 58,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.41725,
    "c": 0.07733,
    "h": 107.4
  },
  "luminance": 0.07395
}

Semantic roles & 50–950 ramp

primary
#514F15
secondary
#393C89
accent
#4BE246
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #514F15

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

Preview Lab → · Contrast checker → · Palette generator →

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