#51480F#51480F

#51480F is a dark, moderate yellow. Relative luminance 0.064; OKLCH L 39.9% C 0.075 H 99.9°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#51480F
RGBrgb(81, 72, 15)
HSLhsl(52, 69%, 19%)
HSVhsv(52, 81%, 32%)
CMYKcmyk(0%, 11.1%, 81.5%, 68.2%)
CIE-LABlab(30.45, -3.38, 33.39)
CIE-LCHlch(30.45, 33.56, 95.78°)
OKLaboklab(39.92% -0.0129 0.0734)
OKLCHoklch(39.92% 0.075 99.9)
XYZxyz(5.7972, 6.4188, 1.3854)
Luminance0.0642 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51480F #0F1851
analogous
#51270F #51480F #39510F
triadic
#51480F #0F5148 #480F51
tetradic
#51480F #0F5127 #0F1851 #510F39
square
#51480F #0F5127 #0F1851 #510F39
split-complementary
#51480F #0F3951 #270F51
monochromatic
#1A1705 #1D1A05 #51480F #857619 #B8A422

Accessibility & contrast

On white

9.20
#51480F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#51480F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51480F
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51480F#FFFFFF#000000##FFFFFF
##51480F1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504605
Deuteranopia (green-blind)
#524913
Tritanopia (blue-blind)
#58423D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #51480f;
/* rgb */ color: rgb(81, 72, 15);
/* oklch */ color: oklch(39.9% 0.075 99.9);
Tailwind
colors: {
  custom: {
    50: '#857a52',
    500: '#51480f',
    950: '#000000',
  },
}
SCSS
$custom: #51480f;
$custom-light: #857a52;
$custom-dark: #000000;
JSON
{
  "hex": "#51480f",
  "rgb": {
    "r": 81,
    "g": 72,
    "b": 15
  },
  "hsl": {
    "h": 51.818,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.39925,
    "c": 0.07455,
    "h": 99.9
  },
  "luminance": 0.06419
}

Semantic roles & 50–950 ramp

primary
#51480F
secondary
#313D8B
accent
#54EC3C
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #51480F

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

Preview Lab → · Contrast checker → · Palette generator →

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