#51470F#51470F

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

Color values

HEX#51470F
RGBrgb(81, 71, 15)
HSLhsl(51, 69%, 19%)
HSVhsv(51, 81%, 32%)
CMYKcmyk(0%, 12.3%, 81.5%, 68.2%)
CIE-LABlab(30.13, -2.76, 33.09)
CIE-LCHlch(30.13, 33.21, 94.78°)
OKLaboklab(39.68% -0.0111 0.0728)
OKLCHoklch(39.68% 0.074 98.7)
XYZxyz(5.7331, 6.2906, 1.3641)
Luminance0.0629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51470F #0F1951
analogous
#51260F #51470F #3A510F
triadic
#51470F #0F5147 #470F51
tetradic
#51470F #0F5126 #0F1951 #510F3A
square
#51470F #0F5126 #0F1951 #510F3A
split-complementary
#51470F #0F3A51 #260F51
monochromatic
#1A1705 #1D1A05 #51470F #857419 #B8A222

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51470F#FFFFFF#000000##FFFFFF
##51470F1.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)
#4F4506
Deuteranopia (green-blind)
#524813
Tritanopia (blue-blind)
#58413C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #51470f;
/* rgb */ color: rgb(81, 71, 15);
/* oklch */ color: oklch(39.7% 0.074 98.7);
Tailwind
colors: {
  custom: {
    50: '#857952',
    500: '#51470f',
    950: '#000000',
  },
}
SCSS
$custom: #51470f;
$custom-light: #857952;
$custom-dark: #000000;
JSON
{
  "hex": "#51470f",
  "rgb": {
    "r": 81,
    "g": 71,
    "b": 15
  },
  "hsl": {
    "h": 50.909,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.39678,
    "c": 0.07364,
    "h": 98.7
  },
  "luminance": 0.0629
}

Semantic roles & 50–950 ramp

primary
#51470F
secondary
#313E8B
accent
#57EC3C
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #51470F

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

Preview Lab → · Contrast checker → · Palette generator →

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