#51520F#51520F

#51520F is a dark, moderate yellow. Relative luminance 0.078; OKLCH L 42.4% C 0.085 H 110.4°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#51520F
RGBrgb(81, 82, 15)
HSLhsl(61, 69%, 19%)
HSVhsv(61, 82%, 32%)
CMYKcmyk(1.2%, 0%, 81.7%, 67.8%)
CIE-LABlab(33.60, -9.36, 36.34)
CIE-LCHlch(33.60, 37.53, 104.45°)
OKLaboklab(42.44% -0.0297 0.0797)
OKLCHoklch(42.44% 0.085 110.4)
XYZxyz(6.4971, 7.8186, 1.6187)
Luminance0.0782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51520F #100F52
analogous
#52320F #51520F #30520F
triadic
#51520F #0F5152 #520F51
tetradic
#51520F #0F5232 #100F52 #520F30
square
#51520F #0F5232 #100F52 #520F30
split-complementary
#51520F #0F3052 #320F52
monochromatic
#1A1A05 #1E1E06 #51520F #848618 #B7B922

Accessibility & contrast

On white

8.19
#51520F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#51520F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51520F
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51520F#FFFFFF#000000##FFFFFF
##51520F1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E02
Deuteranopia (green-blind)
#5A5015
Tritanopia (blue-blind)
#574C45
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #51520f;
/* rgb */ color: rgb(81, 82, 15);
/* oklch */ color: oklch(42.4% 0.085 110.4);
Tailwind
colors: {
  custom: {
    50: '#848254',
    500: '#51520f',
    950: '#000000',
  },
}
SCSS
$custom: #51520f;
$custom-light: #848254;
$custom-dark: #000000;
JSON
{
  "hex": "#51520f",
  "rgb": {
    "r": 81,
    "g": 82,
    "b": 15
  },
  "hsl": {
    "h": 60.896,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.42439,
    "c": 0.08505,
    "h": 110.4
  },
  "luminance": 0.07818
}

Semantic roles & 50–950 ramp

primary
#51520F
secondary
#32318C
accent
#3CEC3F
background
#F8F7F5
surface
#EFEEE8
border
#CAC9C4
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #51520F

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

Preview Lab → · Contrast checker → · Palette generator →

#51520F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva