#51460E#51460E

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

Color values

HEX#51460E
RGBrgb(81, 70, 14)
HSLhsl(50, 71%, 19%)
HSVhsv(50, 83%, 32%)
CMYKcmyk(0%, 13.6%, 82.7%, 68.2%)
CIE-LABlab(29.82, -2.20, 33.21)
CIE-LCHlch(29.82, 33.28, 93.79°)
OKLaboklab(39.42% -0.0096 0.0728)
OKLCHoklch(39.42% 0.073 97.5)
XYZxyz(5.6631, 6.1617, 1.3064)
Luminance0.0616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51460E #0E1951
analogous
#51240E #51460E #3A510E
triadic
#51460E #0E5146 #460E51
tetradic
#51460E #0E5124 #0E1951 #510E3A
square
#51460E #0E5124 #0E1951 #510E3A
split-complementary
#51460E #0E3A51 #240E51
monochromatic
#1A1705 #1D1905 #51460E #857317 #B9A020

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51460E#FFFFFF#000000##FFFFFF
##51460E1.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)
#4E4404
Deuteranopia (green-blind)
#514812
Tritanopia (blue-blind)
#58403B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #51460e;
/* rgb */ color: rgb(81, 70, 14);
/* oklch */ color: oklch(39.4% 0.073 97.5);
Tailwind
colors: {
  custom: {
    50: '#857951',
    500: '#51460e',
    950: '#000000',
  },
}
SCSS
$custom: #51460e;
$custom-light: #857951;
$custom-dark: #000000;
JSON
{
  "hex": "#51460e",
  "rgb": {
    "r": 81,
    "g": 70,
    "b": 14
  },
  "hsl": {
    "h": 50.149,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.39424,
    "c": 0.07345,
    "h": 97.5
  },
  "luminance": 0.06161
}

Semantic roles & 50–950 ramp

primary
#51460E
secondary
#2F3E8C
accent
#58ED3A
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #51460E

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

Preview Lab → · Contrast checker → · Palette generator →

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