#514D18#514D18

#514D18 is a dark, moderate yellow. Relative luminance 0.071; OKLCH L 41.3% C 0.073 H 105.0°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#514D18
RGBrgb(81, 77, 24)
HSLhsl(56, 54%, 21%)
HSVhsv(56, 70%, 32%)
CMYKcmyk(0%, 4.9%, 70.4%, 68.2%)
CIE-LABlab(32.09, -5.86, 30.93)
CIE-LCHlch(32.09, 31.48, 100.73°)
OKLaboklab(41.25% -0.0188 0.0701)
OKLCHoklch(41.25% 0.073 105)
XYZxyz(6.2123, 7.1233, 1.9117)
Luminance0.0712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514D18 #181C51
analogous
#513018 #514D18 #385118
triadic
#514D18 #18514D #4D1851
tetradic
#514D18 #185130 #181C51 #511838
square
#514D18 #185130 #181C51 #511838
split-complementary
#514D18 #183851 #301851
monochromatic
#181607 #22200A #514D18 #807A26 #AFA734

Accessibility & contrast

On white

8.66
#514D18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#514D18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514D18
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514D18#FFFFFF#000000##FFFFFF
##514D181.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A11
Deuteranopia (green-blind)
#564D1B
Tritanopia (blue-blind)
#574842
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #514d18;
/* rgb */ color: rgb(81, 77, 24);
/* oklch */ color: oklch(41.3% 0.073 105.0);
Tailwind
colors: {
  custom: {
    50: '#847e58',
    500: '#514d18',
    950: '#000000',
  },
}
SCSS
$custom: #514d18;
$custom-light: #847e58;
$custom-dark: #000000;
JSON
{
  "hex": "#514d18",
  "rgb": {
    "r": 81,
    "g": 77,
    "b": 24
  },
  "hsl": {
    "h": 55.789,
    "s": 54.286,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41252,
    "c": 0.07252,
    "h": 105
  },
  "luminance": 0.07123
}

Semantic roles & 50–950 ramp

primary
#514D18
secondary
#3D4288
accent
#55DE4A
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #514D18

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

Preview Lab → · Contrast checker → · Palette generator →

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