#514D22#514D22

#514D22 is a dark, moderate yellow. Relative luminance 0.072; OKLCH L 41.4% C 0.062 H 104.0°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#514D22
RGBrgb(81, 77, 34)
HSLhsl(55, 41%, 23%)
HSVhsv(55, 58%, 32%)
CMYKcmyk(0%, 4.9%, 58%, 68.2%)
CIE-LABlab(32.20, -5.01, 25.77)
CIE-LCHlch(32.20, 26.26, 101.00°)
OKLaboklab(41.38% -0.015 0.0605)
OKLCHoklch(41.38% 0.062 104)
XYZxyz(6.3361, 7.1728, 2.5638)
Luminance0.0717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514D22 #222651
analogous
#513622 #514D22 #3D5122
triadic
#514D22 #22514D #4D2251
tetradic
#514D22 #225136 #222651 #51223D
square
#514D22 #225136 #222651 #51223D
split-complementary
#514D22 #223D51 #362251
monochromatic
#161409 #262410 #514D22 #7C7634 #A79F46

Accessibility & contrast

On white

8.63
#514D22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#514D22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514D22
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514D22#FFFFFF#000000##FFFFFF
##514D221.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A1E
Deuteranopia (green-blind)
#554D24
Tritanopia (blue-blind)
#574843
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #514d22;
/* rgb */ color: rgb(81, 77, 34);
/* oklch */ color: oklch(41.4% 0.062 104.0);
Tailwind
colors: {
  custom: {
    50: '#837e5e',
    500: '#514d22',
    950: '#000000',
  },
}
SCSS
$custom: #514d22;
$custom-light: #837e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#514d22",
  "rgb": {
    "r": 81,
    "g": 77,
    "b": 34
  },
  "hsl": {
    "h": 54.894,
    "s": 40.87,
    "l": 22.549
  },
  "oklch": {
    "l": 0.41376,
    "c": 0.06237,
    "h": 104
  },
  "luminance": 0.07173
}

Semantic roles & 50–950 ramp

primary
#514D22
secondary
#4A4F85
accent
#61D157
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #514D22

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

Preview Lab → · Contrast checker → · Palette generator →

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