#514B19#514B19

#514B19 is a dark, moderate yellow. Relative luminance 0.069; OKLCH L 40.8% C 0.069 H 102.5°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#514B19
RGBrgb(81, 75, 25)
HSLhsl(54, 53%, 21%)
HSVhsv(54, 69%, 32%)
CMYKcmyk(0%, 7.4%, 69.1%, 68.2%)
CIE-LABlab(31.47, -4.58, 29.77)
CIE-LCHlch(31.47, 30.12, 98.74°)
OKLaboklab(40.76% -0.015 0.0678)
OKLCHoklch(40.76% 0.069 102.5)
XYZxyz(6.0851, 6.8519, 1.9215)
Luminance0.0685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514B19 #191F51
analogous
#512F19 #514B19 #3B5119
triadic
#514B19 #19514B #4B1951
tetradic
#514B19 #19512F #191F51 #51193B
square
#514B19 #19512F #191F51 #51193B
split-complementary
#514B19 #193B51 #2F1951
monochromatic
#171607 #22200B #514B19 #807627 #AFA236

Accessibility & contrast

On white

8.86
#514B19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#514B19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514B19
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514B19#FFFFFF#000000##FFFFFF
##514B191.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524813
Deuteranopia (green-blind)
#544B1C
Tritanopia (blue-blind)
#574640
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #514b19;
/* rgb */ color: rgb(81, 75, 25);
/* oklch */ color: oklch(40.8% 0.069 102.5);
Tailwind
colors: {
  custom: {
    50: '#847d58',
    500: '#514b19',
    950: '#000000',
  },
}
SCSS
$custom: #514b19;
$custom-light: #847d58;
$custom-dark: #000000;
JSON
{
  "hex": "#514b19",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 25
  },
  "hsl": {
    "h": 53.571,
    "s": 52.83,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40763,
    "c": 0.06942,
    "h": 102.5
  },
  "luminance": 0.06852
}

Semantic roles & 50–950 ramp

primary
#514B19
secondary
#3E4687
accent
#5BDC4C
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #514B19

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

Preview Lab → · Contrast checker → · Palette generator →

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