#51460C#51460C

#51460C is a dark, moderate yellow. Relative luminance 0.062; OKLCH L 39.4% C 0.075 H 97.8°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#51460C
RGBrgb(81, 70, 12)
HSLhsl(50, 74%, 18%)
HSVhsv(50, 85%, 32%)
CMYKcmyk(0%, 13.6%, 85.2%, 68.2%)
CIE-LABlab(29.80, -2.29, 33.99)
CIE-LCHlch(29.80, 34.07, 93.86°)
OKLaboklab(39.41% -0.0101 0.074)
OKLCHoklch(39.41% 0.075 97.8)
XYZxyz(5.6502, 6.1565, 1.2385)
Luminance0.0616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51460C #0C1751
analogous
#51230C #51460C #39510C
triadic
#51460C #0C5146 #460C51
tetradic
#51460C #0C5123 #0C1751 #510C39
square
#51460C #0C5123 #0C1751 #510C39
split-complementary
#51460C #0C3951 #230C51
monochromatic
#1B1704 #1C1804 #51460C #867414 #BCA21C

Accessibility & contrast

On white

9.41
#51460C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#51460C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51460C
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51460C#FFFFFF#000000##FFFFFF
##51460C1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4402
Deuteranopia (green-blind)
#514810
Tritanopia (blue-blind)
#58403B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #51460c;
/* rgb */ color: rgb(81, 70, 12);
/* oklch */ color: oklch(39.4% 0.075 97.8);
Tailwind
colors: {
  custom: {
    50: '#857950',
    500: '#51460c',
    950: '#000000',
  },
}
SCSS
$custom: #51460c;
$custom-light: #857950;
$custom-dark: #000000;
JSON
{
  "hex": "#51460c",
  "rgb": {
    "r": 81,
    "g": 70,
    "b": 12
  },
  "hsl": {
    "h": 50.435,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.3941,
    "c": 0.07473,
    "h": 97.8
  },
  "luminance": 0.06156
}

Semantic roles & 50–950 ramp

primary
#51460C
secondary
#2C3C8C
accent
#55F137
background
#F8F7F4
surface
#F0EDE7
border
#CBC8C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #51460C

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

Preview Lab → · Contrast checker → · Palette generator →

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