#514F22#514F22

#514F22 is a dark, moderate yellow. Relative luminance 0.075; OKLCH L 41.9% C 0.065 H 106.6°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#514F22
RGBrgb(81, 79, 34)
HSLhsl(57, 41%, 23%)
HSVhsv(57, 58%, 32%)
CMYKcmyk(0%, 2.5%, 58%, 68.2%)
CIE-LABlab(32.83, -6.21, 26.51)
CIE-LCHlch(32.83, 27.23, 103.19°)
OKLaboklab(41.88% -0.0185 0.0621)
OKLCHoklch(41.88% 0.065 106.6)
XYZxyz(6.4782, 7.4570, 2.6112)
Luminance0.0746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514F22 #222451
analogous
#513822 #514F22 #3B5122
triadic
#514F22 #22514F #4F2251
tetradic
#514F22 #225138 #222451 #51223B
square
#514F22 #225138 #222451 #51223B
split-complementary
#514F22 #223B51 #382251
monochromatic
#161509 #262510 #514F22 #7C7934 #A7A346

Accessibility & contrast

On white

8.43
#514F22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#514F22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514F22
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514F22#FFFFFF#000000##FFFFFF
##514F221.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554C1E
Deuteranopia (green-blind)
#564E24
Tritanopia (blue-blind)
#574A45
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #514f22;
/* rgb */ color: rgb(81, 79, 34);
/* oklch */ color: oklch(41.9% 0.065 106.6);
Tailwind
colors: {
  custom: {
    50: '#83805f',
    500: '#514f22',
    950: '#000000',
  },
}
SCSS
$custom: #514f22;
$custom-light: #83805f;
$custom-dark: #000000;
JSON
{
  "hex": "#514f22",
  "rgb": {
    "r": 81,
    "g": 79,
    "b": 34
  },
  "hsl": {
    "h": 57.447,
    "s": 40.87,
    "l": 22.549
  },
  "oklch": {
    "l": 0.41876,
    "c": 0.0648,
    "h": 106.6
  },
  "luminance": 0.07457
}

Semantic roles & 50–950 ramp

primary
#514F22
secondary
#4A4C85
accent
#5CD157
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #514F22

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

Preview Lab → · Contrast checker → · Palette generator →

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