#51460F#51460F

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

Color values

HEX#51460F
RGBrgb(81, 70, 15)
HSLhsl(50, 69%, 19%)
HSVhsv(50, 81%, 32%)
CMYKcmyk(0%, 13.6%, 81.5%, 68.2%)
CIE-LABlab(29.82, -2.15, 32.80)
CIE-LCHlch(29.82, 32.87, 93.75°)
OKLaboklab(39.43% -0.0094 0.0722)
OKLCHoklch(39.43% 0.073 97.4)
XYZxyz(5.6700, 6.1644, 1.3430)
Luminance0.0616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51460F #0F1A51
analogous
#51250F #51460F #3B510F
triadic
#51460F #0F5146 #460F51
tetradic
#51460F #0F5125 #0F1A51 #510F3B
square
#51460F #0F5125 #0F1A51 #510F3B
split-complementary
#51460F #0F3B51 #250F51
monochromatic
#1A1605 #1D1905 #51460F #857319 #B89F22

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51460F#FFFFFF#000000##FFFFFF
##51460F1.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)
#4E4406
Deuteranopia (green-blind)
#514813
Tritanopia (blue-blind)
#58403B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #51460f;
/* rgb */ color: rgb(81, 70, 15);
/* oklch */ color: oklch(39.4% 0.073 97.4);
Tailwind
colors: {
  custom: {
    50: '#857952',
    500: '#51460f',
    950: '#000000',
  },
}
SCSS
$custom: #51460f;
$custom-light: #857952;
$custom-dark: #000000;
JSON
{
  "hex": "#51460f",
  "rgb": {
    "r": 81,
    "g": 70,
    "b": 15
  },
  "hsl": {
    "h": 50,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.39432,
    "c": 0.07278,
    "h": 97.4
  },
  "luminance": 0.06164
}

Semantic roles & 50–950 ramp

primary
#51460F
secondary
#31408B
accent
#59EC3C
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #51460F

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

Preview Lab → · Contrast checker → · Palette generator →

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