#51410C#51410C

#51410C is a dark, moderate yellow. Relative luminance 0.056; OKLCH L 38.2% C 0.071 H 91.0°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#51410C
RGBrgb(81, 65, 12)
HSLhsl(46, 74%, 18%)
HSVhsv(46, 85%, 32%)
CMYKcmyk(0%, 19.8%, 85.2%, 68.2%)
CIE-LABlab(28.27, 0.82, 32.59)
CIE-LCHlch(28.27, 32.60, 88.55°)
OKLaboklab(38.19% -0.0013 0.071)
OKLCHoklch(38.19% 0.071 91)
XYZxyz(5.3503, 5.5568, 1.1385)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51410C #0C1C51
analogous
#511E0C #51410C #3E510C
triadic
#51410C #0C5141 #410C51
tetradic
#51410C #0C511E #0C1C51 #510C3E
square
#51410C #0C511E #0C1C51 #510C3E
split-complementary
#51410C #0C3E51 #1E0C51
monochromatic
#1B1504 #1C1604 #51410C #866C14 #BC971C

Accessibility & contrast

On white

9.95
#51410C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#51410C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51410C
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51410C#FFFFFF#000000##FFFFFF
##51410C1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494003
Deuteranopia (green-blind)
#4D450F
Tritanopia (blue-blind)
#583B37
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #51410c;
/* rgb */ color: rgb(81, 65, 12);
/* oklch */ color: oklch(38.2% 0.071 91.0);
Tailwind
colors: {
  custom: {
    50: '#857550',
    500: '#51410c',
    950: '#000000',
  },
}
SCSS
$custom: #51410c;
$custom-light: #857550;
$custom-dark: #000000;
JSON
{
  "hex": "#51410c",
  "rgb": {
    "r": 81,
    "g": 65,
    "b": 12
  },
  "hsl": {
    "h": 46.087,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.38194,
    "c": 0.07103,
    "h": 91
  },
  "luminance": 0.05556
}

Semantic roles & 50–950 ramp

primary
#51410C
secondary
#2C438C
accent
#62F137
background
#F8F7F4
surface
#F0EDE7
border
#CBC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #51410C

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

Preview Lab → · Contrast checker → · Palette generator →

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