#51420E#51420E

#51420E is a dark, moderate yellow. Relative luminance 0.057; OKLCH L 38.5% C 0.070 H 92.1°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#51420E
RGBrgb(81, 66, 14)
HSLhsl(47, 71%, 19%)
HSVhsv(47, 83%, 32%)
CMYKcmyk(0%, 18.5%, 82.7%, 68.2%)
CIE-LABlab(28.58, 0.29, 32.05)
CIE-LCHlch(28.58, 32.05, 89.48°)
OKLaboklab(38.45% -0.0026 0.0704)
OKLCHoklch(38.45% 0.07 92.1)
XYZxyz(5.4211, 5.6778, 1.2258)
Luminance0.0568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51420E #0E1D51
analogous
#51200E #51420E #3E510E
triadic
#51420E #0E5142 #420E51
tetradic
#51420E #0E5120 #0E1D51 #510E3E
square
#51420E #0E5120 #0E1D51 #510E3E
split-complementary
#51420E #0E3E51 #200E51
monochromatic
#1A1505 #1D1705 #51420E #856D17 #B99720

Accessibility & contrast

On white

9.83
#51420E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#51420E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51420E
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51420E#FFFFFF#000000##FFFFFF
##51420E1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4106
Deuteranopia (green-blind)
#4E4511
Tritanopia (blue-blind)
#583C38
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #51420e;
/* rgb */ color: rgb(81, 66, 14);
/* oklch */ color: oklch(38.5% 0.070 92.1);
Tailwind
colors: {
  custom: {
    50: '#857651',
    500: '#51420e',
    950: '#000000',
  },
}
SCSS
$custom: #51420e;
$custom-light: #857651;
$custom-dark: #000000;
JSON
{
  "hex": "#51420e",
  "rgb": {
    "r": 81,
    "g": 66,
    "b": 14
  },
  "hsl": {
    "h": 46.567,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.3845,
    "c": 0.0704,
    "h": 92.1
  },
  "luminance": 0.05677
}

Semantic roles & 50–950 ramp

primary
#51420E
secondary
#2F448C
accent
#63ED3A
background
#F8F7F4
surface
#F0EDE7
border
#CBC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #51420E

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

Preview Lab → · Contrast checker → · Palette generator →

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