#51470E#51470E

#51470E is a dark, moderate yellow. Relative luminance 0.063; OKLCH L 39.7% C 0.074 H 98.8°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#51470E
RGBrgb(81, 71, 14)
HSLhsl(51, 71%, 19%)
HSVhsv(51, 83%, 32%)
CMYKcmyk(0%, 12.3%, 82.7%, 68.2%)
CIE-LABlab(30.13, -2.81, 33.50)
CIE-LCHlch(30.13, 33.62, 94.80°)
OKLaboklab(39.67% -0.0114 0.0734)
OKLCHoklch(39.67% 0.074 98.8)
XYZxyz(5.7261, 6.2878, 1.3274)
Luminance0.0629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51470E #0E1851
analogous
#51250E #51470E #39510E
triadic
#51470E #0E5147 #470E51
tetradic
#51470E #0E5125 #0E1851 #510E39
square
#51470E #0E5125 #0E1851 #510E39
split-complementary
#51470E #0E3951 #250E51
monochromatic
#1A1705 #1D1905 #51470E #857517 #B9A220

Accessibility & contrast

On white

9.30
#51470E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#51470E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51470E
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51470E#FFFFFF#000000##FFFFFF
##51470E1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4504
Deuteranopia (green-blind)
#524812
Tritanopia (blue-blind)
#58413C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #51470e;
/* rgb */ color: rgb(81, 71, 14);
/* oklch */ color: oklch(39.7% 0.074 98.8);
Tailwind
colors: {
  custom: {
    50: '#857952',
    500: '#51470e',
    950: '#000000',
  },
}
SCSS
$custom: #51470e;
$custom-light: #857952;
$custom-dark: #000000;
JSON
{
  "hex": "#51470e",
  "rgb": {
    "r": 81,
    "g": 71,
    "b": 14
  },
  "hsl": {
    "h": 51.045,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.3967,
    "c": 0.07432,
    "h": 98.8
  },
  "luminance": 0.06288
}

Semantic roles & 50–950 ramp

primary
#51470E
secondary
#2F3D8C
accent
#55ED3A
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #51470E

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

Preview Lab → · Contrast checker → · Palette generator →

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