#51491C#51491C

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

Color values

HEX#51491C
RGBrgb(81, 73, 28)
HSLhsl(51, 49%, 21%)
HSVhsv(51, 65%, 32%)
CMYKcmyk(0%, 9.9%, 65.4%, 68.2%)
CIE-LABlab(30.87, -3.12, 27.55)
CIE-LCHlch(30.87, 27.73, 96.46°)
OKLaboklab(40.3% -0.0104 0.0636)
OKLCHoklch(40.3% 0.064 99.3)
XYZxyz(5.9857, 6.5985, 2.0567)
Luminance0.0660 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51491C #1C2451
analogous
#512F1C #51491C #3F511C
triadic
#51491C #1C5149 #491C51
tetradic
#51491C #1C512F #1C2451 #511C3F
square
#51491C #1C512F #1C2451 #511C3F
split-complementary
#51491C #1C3F51 #2F1C51
monochromatic
#171408 #24200C #51491C #7E722C #AC9B3B

Accessibility & contrast

On white

9.05
#51491C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #51491C
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51491C#FFFFFF#000000##FFFFFF
##51491C1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #51491c;
/* rgb */ color: rgb(81, 73, 28);
/* oklch */ color: oklch(40.3% 0.064 99.3);
Tailwind
colors: {
  custom: {
    50: '#847b5a',
    500: '#51491c',
    950: '#000000',
  },
}
SCSS
$custom: #51491c;
$custom-light: #847b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#51491c",
  "rgb": {
    "r": 81,
    "g": 73,
    "b": 28
  },
  "hsl": {
    "h": 50.943,
    "s": 48.624,
    "l": 21.373
  },
  "oklch": {
    "l": 0.40303,
    "c": 0.0644,
    "h": 99.3
  },
  "luminance": 0.06598
}

Semantic roles & 50–950 ramp

primary
#51491C
secondary
#424D87
accent
#64D850
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0904
muted
#7C7B79

Preview Lab

Preview with #51491C

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

Preview Lab → · Contrast checker → · Palette generator →

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