#51491E#51491E

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

Color values

HEX#51491E
RGBrgb(81, 73, 30)
HSLhsl(51, 46%, 22%)
HSVhsv(51, 63%, 32%)
CMYKcmyk(0%, 9.9%, 63%, 68.2%)
CIE-LABlab(30.90, -2.95, 26.49)
CIE-LCHlch(30.90, 26.66, 96.35°)
OKLaboklab(40.33% -0.0096 0.0616)
OKLCHoklch(40.33% 0.062 98.9)
XYZxyz(6.0104, 6.6084, 2.1870)
Luminance0.0661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51491E #1E2651
analogous
#51301E #51491E #40511E
triadic
#51491E #1E5149 #491E51
tetradic
#51491E #1E5130 #1E2651 #511E40
square
#51491E #1E5130 #1E2651 #511E40
split-complementary
#51491E #1E4051 #301E51
monochromatic
#161408 #24210D #51491E #7E712F #AA993F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51491E#FFFFFF#000000##FFFFFF
##51491E1.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)
#50471A
Deuteranopia (green-blind)
#524A20
Tritanopia (blue-blind)
#57443F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #51491e;
/* rgb */ color: rgb(81, 73, 30);
/* oklch */ color: oklch(40.3% 0.062 98.9);
Tailwind
colors: {
  custom: {
    50: '#847b5b',
    500: '#51491e',
    950: '#000000',
  },
}
SCSS
$custom: #51491e;
$custom-light: #847b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#51491e",
  "rgb": {
    "r": 81,
    "g": 73,
    "b": 30
  },
  "hsl": {
    "h": 50.588,
    "s": 45.946,
    "l": 21.765
  },
  "oklch": {
    "l": 0.40329,
    "c": 0.06232,
    "h": 98.9
  },
  "luminance": 0.06608
}

Semantic roles & 50–950 ramp

primary
#51491E
secondary
#454F86
accent
#67D652
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0904
muted
#7C7B79

Preview Lab

Preview with #51491E

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

Preview Lab → · Contrast checker → · Palette generator →

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