#514B18#514B18

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

Color values

HEX#514B18
RGBrgb(81, 75, 24)
HSLhsl(54, 54%, 21%)
HSVhsv(54, 70%, 32%)
CMYKcmyk(0%, 7.4%, 70.4%, 68.2%)
CIE-LABlab(31.46, -4.65, 30.26)
CIE-LCHlch(31.46, 30.62, 98.74°)
OKLaboklab(40.75% -0.0153 0.0687)
OKLCHoklch(40.75% 0.07 102.6)
XYZxyz(6.0745, 6.8477, 1.8657)
Luminance0.0685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514B18 #181E51
analogous
#512E18 #514B18 #3A5118
triadic
#514B18 #18514B #4B1851
tetradic
#514B18 #18512E #181E51 #51183A
square
#514B18 #18512E #181E51 #51183A
split-complementary
#514B18 #183A51 #2E1851
monochromatic
#181607 #221F0A #514B18 #807726 #AFA234

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##514B18#FFFFFF#000000##FFFFFF
##514B181.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)
#524812
Deuteranopia (green-blind)
#544B1B
Tritanopia (blue-blind)
#574640
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #514b18;
/* rgb */ color: rgb(81, 75, 24);
/* oklch */ color: oklch(40.8% 0.070 102.6);
Tailwind
colors: {
  custom: {
    50: '#847d58',
    500: '#514b18',
    950: '#000000',
  },
}
SCSS
$custom: #514b18;
$custom-light: #847d58;
$custom-dark: #000000;
JSON
{
  "hex": "#514b18",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 24
  },
  "hsl": {
    "h": 53.684,
    "s": 54.286,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40752,
    "c": 0.07034,
    "h": 102.6
  },
  "luminance": 0.06847
}

Semantic roles & 50–950 ramp

primary
#514B18
secondary
#3D4588
accent
#5ADE4A
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #514B18

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

Preview Lab → · Contrast checker → · Palette generator →

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