#514C22#514C22

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

Color values

HEX#514C22
RGBrgb(81, 76, 34)
HSLhsl(54, 41%, 23%)
HSVhsv(54, 58%, 32%)
CMYKcmyk(0%, 6.2%, 58%, 68.2%)
CIE-LABlab(31.88, -4.40, 25.41)
CIE-LCHlch(31.88, 25.79, 99.83°)
OKLaboklab(41.13% -0.0133 0.0597)
OKLCHoklch(41.13% 0.061 102.6)
XYZxyz(6.2667, 7.0339, 2.5406)
Luminance0.0703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514C22 #222751
analogous
#513422 #514C22 #3F5122
triadic
#514C22 #22514C #4C2251
tetradic
#514C22 #225134 #222751 #51223F
square
#514C22 #225134 #222751 #51223F
split-complementary
#514C22 #223F51 #342251
monochromatic
#161409 #262410 #514C22 #7C7434 #A79D46

Accessibility & contrast

On white

8.73
#514C22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#514C22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514C22
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514C22#FFFFFF#000000##FFFFFF
##514C221.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524A1E
Deuteranopia (green-blind)
#544C24
Tritanopia (blue-blind)
#574742
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #514c22;
/* rgb */ color: rgb(81, 76, 34);
/* oklch */ color: oklch(41.1% 0.061 102.6);
Tailwind
colors: {
  custom: {
    50: '#837d5e',
    500: '#514c22',
    950: '#000000',
  },
}
SCSS
$custom: #514c22;
$custom-light: #837d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#514c22",
  "rgb": {
    "r": 81,
    "g": 76,
    "b": 34
  },
  "hsl": {
    "h": 53.617,
    "s": 40.87,
    "l": 22.549
  },
  "oklch": {
    "l": 0.41127,
    "c": 0.06119,
    "h": 102.6
  },
  "luminance": 0.07034
}

Semantic roles & 50–950 ramp

primary
#514C22
secondary
#4A5085
accent
#64D157
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0904
muted
#7C7B79

Preview Lab

Preview with #514C22

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

Preview Lab → · Contrast checker → · Palette generator →

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