#514818#514818

#514818 is a dark, moderate yellow. Relative luminance 0.065; OKLCH L 40.0% C 0.067 H 98.6°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#514818
RGBrgb(81, 72, 24)
HSLhsl(51, 54%, 21%)
HSVhsv(51, 70%, 32%)
CMYKcmyk(0%, 11.1%, 70.4%, 68.2%)
CIE-LABlab(30.52, -2.82, 29.26)
CIE-LCHlch(30.52, 29.40, 95.50°)
OKLaboklab(40.01% -0.0101 0.0665)
OKLCHoklch(40.01% 0.067 98.6)
XYZxyz(5.8758, 6.4503, 1.7995)
Luminance0.0645 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514818 #182151
analogous
#512B18 #514818 #3D5118
triadic
#514818 #185148 #481851
tetradic
#514818 #18512B #182151 #51183D
square
#514818 #18512B #182151 #51183D
split-complementary
#514818 #183D51 #2B1851
monochromatic
#181507 #221E0A #514818 #807226 #AF9C34

Accessibility & contrast

On white

9.17
#514818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#514818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514818
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514818#FFFFFF#000000##FFFFFF
##5148181.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4612
Deuteranopia (green-blind)
#52491B
Tritanopia (blue-blind)
#58423E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #514818;
/* rgb */ color: rgb(81, 72, 24);
/* oklch */ color: oklch(40.0% 0.067 98.6);
Tailwind
colors: {
  custom: {
    50: '#847a57',
    500: '#514818',
    950: '#000000',
  },
}
SCSS
$custom: #514818;
$custom-light: #847a57;
$custom-dark: #000000;
JSON
{
  "hex": "#514818",
  "rgb": {
    "r": 81,
    "g": 72,
    "b": 24
  },
  "hsl": {
    "h": 50.526,
    "s": 54.286,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40009,
    "c": 0.06729,
    "h": 98.6
  },
  "luminance": 0.0645
}

Semantic roles & 50–950 ramp

primary
#514818
secondary
#3D4988
accent
#61DE4A
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #514818

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

Preview Lab → · Contrast checker → · Palette generator →

#514818 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva