#51450E#51450E

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

Color values

HEX#51450E
RGBrgb(81, 69, 14)
HSLhsl(49, 71%, 19%)
HSVhsv(49, 83%, 32%)
CMYKcmyk(0%, 14.8%, 82.7%, 68.2%)
CIE-LABlab(29.51, -1.58, 32.92)
CIE-LCHlch(29.51, 32.96, 92.75°)
OKLaboklab(39.18% -0.0079 0.0722)
OKLCHoklch(39.18% 0.073 96.2)
XYZxyz(5.6010, 6.0376, 1.2857)
Luminance0.0604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51450E #0E1A51
analogous
#51230E #51450E #3B510E
triadic
#51450E #0E5145 #450E51
tetradic
#51450E #0E5123 #0E1A51 #510E3B
square
#51450E #0E5123 #0E1A51 #510E3B
split-complementary
#51450E #0E3B51 #230E51
monochromatic
#1A1605 #1D1905 #51450E #857117 #B99E20

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51450E#FFFFFF#000000##FFFFFF
##51450E1.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)
#4D4305
Deuteranopia (green-blind)
#504712
Tritanopia (blue-blind)
#583F3A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #51450e;
/* rgb */ color: rgb(81, 69, 14);
/* oklch */ color: oklch(39.2% 0.073 96.2);
Tailwind
colors: {
  custom: {
    50: '#857851',
    500: '#51450e',
    950: '#000000',
  },
}
SCSS
$custom: #51450e;
$custom-light: #857851;
$custom-dark: #000000;
JSON
{
  "hex": "#51450e",
  "rgb": {
    "r": 81,
    "g": 69,
    "b": 14
  },
  "hsl": {
    "h": 49.254,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.39179,
    "c": 0.07263,
    "h": 96.2
  },
  "luminance": 0.06037
}

Semantic roles & 50–950 ramp

primary
#51450E
secondary
#2F408C
accent
#5BED3A
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #51450E

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

Preview Lab → · Contrast checker → · Palette generator →

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