#51450F#51450F

#51450F is a dark, moderate yellow. Relative luminance 0.060; OKLCH L 39.2% C 0.072 H 96.1°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#51450F
RGBrgb(81, 69, 15)
HSLhsl(49, 69%, 19%)
HSVhsv(49, 81%, 32%)
CMYKcmyk(0%, 14.8%, 81.5%, 68.2%)
CIE-LABlab(29.51, -1.53, 32.50)
CIE-LCHlch(29.51, 32.54, 92.69°)
OKLaboklab(39.19% -0.0076 0.0716)
OKLCHoklch(39.19% 0.072 96.1)
XYZxyz(5.6080, 6.0404, 1.3224)
Luminance0.0604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51450F #0F1B51
analogous
#51240F #51450F #3C510F
triadic
#51450F #0F5145 #450F51
tetradic
#51450F #0F5124 #0F1B51 #510F3C
square
#51450F #0F5124 #0F1B51 #510F3C
split-complementary
#51450F #0F3C51 #240F51
monochromatic
#1A1605 #1D1905 #51450F #857119 #B89D22

Accessibility & contrast

On white

9.51
#51450F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#51450F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51450F
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51450F#FFFFFF#000000##FFFFFF
##51450F1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4306
Deuteranopia (green-blind)
#504712
Tritanopia (blue-blind)
#583F3A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #51450f;
/* rgb */ color: rgb(81, 69, 15);
/* oklch */ color: oklch(39.2% 0.072 96.1);
Tailwind
colors: {
  custom: {
    50: '#857852',
    500: '#51450f',
    950: '#000000',
  },
}
SCSS
$custom: #51450f;
$custom-light: #857852;
$custom-dark: #000000;
JSON
{
  "hex": "#51450f",
  "rgb": {
    "r": 81,
    "g": 69,
    "b": 15
  },
  "hsl": {
    "h": 49.091,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.39187,
    "c": 0.07195,
    "h": 96.1
  },
  "luminance": 0.0604
}

Semantic roles & 50–950 ramp

primary
#51450F
secondary
#31418B
accent
#5CEC3C
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #51450F

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

Preview Lab → · Contrast checker → · Palette generator →

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