#51491A#51491A

#51491A is a dark, moderate yellow. Relative luminance 0.066; OKLCH L 40.3% C 0.066 H 99.7°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#51491A
RGBrgb(81, 73, 26)
HSLhsl(51, 51%, 21%)
HSVhsv(51, 68%, 32%)
CMYKcmyk(0%, 9.9%, 67.9%, 68.2%)
CIE-LABlab(30.85, -3.28, 28.59)
CIE-LCHlch(30.85, 28.78, 96.55°)
OKLaboklab(40.28% -0.0112 0.0654)
OKLCHoklch(40.28% 0.066 99.7)
XYZxyz(5.9626, 6.5893, 1.9349)
Luminance0.0659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51491A #1A2251
analogous
#512D1A #51491A #3D511A
triadic
#51491A #1A5149 #491A51
tetradic
#51491A #1A512D #1A2251 #511A3D
square
#51491A #1A512D #1A2251 #511A3D
split-complementary
#51491A #1A3D51 #2D1A51
monochromatic
#171507 #231F0B #51491A #7F7329 #AE9D38

Accessibility & contrast

On white

9.06
#51491A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#51491A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51491A
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51491A#FFFFFF#000000##FFFFFF
##51491A1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504715
Deuteranopia (green-blind)
#524A1C
Tritanopia (blue-blind)
#57443F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #51491a;
/* rgb */ color: rgb(81, 73, 26);
/* oklch */ color: oklch(40.3% 0.066 99.7);
Tailwind
colors: {
  custom: {
    50: '#847b59',
    500: '#51491a',
    950: '#000000',
  },
}
SCSS
$custom: #51491a;
$custom-light: #847b59;
$custom-dark: #000000;
JSON
{
  "hex": "#51491a",
  "rgb": {
    "r": 81,
    "g": 73,
    "b": 26
  },
  "hsl": {
    "h": 51.273,
    "s": 51.402,
    "l": 20.98
  },
  "oklch": {
    "l": 0.40279,
    "c": 0.06638,
    "h": 99.7
  },
  "luminance": 0.06589
}

Semantic roles & 50–950 ramp

primary
#51491A
secondary
#404A87
accent
#62DB4D
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #51491A

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

Preview Lab → · Contrast checker → · Palette generator →

#51491A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva