#514A18#514A18

#514A18 is a dark, moderate yellow. Relative luminance 0.067; OKLCH L 40.5% C 0.069 H 101.3°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#514A18
RGBrgb(81, 74, 24)
HSLhsl(53, 54%, 21%)
HSVhsv(53, 70%, 32%)
CMYKcmyk(0%, 8.6%, 70.4%, 68.2%)
CIE-LABlab(31.14, -4.04, 29.93)
CIE-LCHlch(31.14, 30.20, 97.69°)
OKLaboklab(40.5% -0.0136 0.0679)
OKLCHoklch(40.5% 0.069 101.3)
XYZxyz(6.0072, 6.7131, 1.8433)
Luminance0.0671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514A18 #181F51
analogous
#512D18 #514A18 #3B5118
triadic
#514A18 #18514A #4A1851
tetradic
#514A18 #18512D #181F51 #51183B
square
#514A18 #18512D #181F51 #51183B
split-complementary
#514A18 #183B51 #2D1851
monochromatic
#181607 #221F0A #514A18 #807526 #AFA034

Accessibility & contrast

On white

8.96
#514A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#514A18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514A18
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514A18#FFFFFF#000000##FFFFFF
##514A181.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514812
Deuteranopia (green-blind)
#534B1B
Tritanopia (blue-blind)
#574440
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #514a18;
/* rgb */ color: rgb(81, 74, 24);
/* oklch */ color: oklch(40.5% 0.069 101.3);
Tailwind
colors: {
  custom: {
    50: '#847c58',
    500: '#514a18',
    950: '#000000',
  },
}
SCSS
$custom: #514a18;
$custom-light: #847c58;
$custom-dark: #000000;
JSON
{
  "hex": "#514a18",
  "rgb": {
    "r": 81,
    "g": 74,
    "b": 24
  },
  "hsl": {
    "h": 52.632,
    "s": 54.286,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40504,
    "c": 0.06929,
    "h": 101.3
  },
  "luminance": 0.06713
}

Semantic roles & 50–950 ramp

primary
#514A18
secondary
#3D4688
accent
#5CDE4A
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #514A18

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

Preview Lab → · Contrast checker → · Palette generator →

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