#47510C#47510C

#47510C is a dark, moderate yellow. Relative luminance 0.073; OKLCH L 41.2% C 0.089 H 117.9°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#47510C
RGBrgb(71, 81, 12)
HSLhsl(69, 74%, 18%)
HSVhsv(69, 85%, 32%)
CMYKcmyk(12.3%, 0%, 85.2%, 68.2%)
CIE-LABlab(32.37, -13.85, 35.97)
CIE-LCHlch(32.37, 38.55, 111.06°)
OKLaboklab(41.23% -0.0418 0.0787)
OKLCHoklch(41.23% 0.089 117.9)
XYZxyz(5.6075, 7.2511, 1.4519)
Luminance0.0725 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47510C #160C51
analogous
#51380C #47510C #24510C
triadic
#47510C #0C4751 #510C47
tetradic
#47510C #0C5138 #160C51 #510C24
square
#47510C #0C5138 #160C51 #510C24
split-complementary
#47510C #0C2451 #380C51
monochromatic
#171B04 #181C04 #47510C #768614 #A4BC1C

Accessibility & contrast

On white

8.57
#47510C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#47510C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47510C
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47510C#FFFFFF#000000##FFFFFF
##47510C1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C00
Deuteranopia (green-blind)
#564C13
Tritanopia (blue-blind)
#4C4C44
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #47510c;
/* rgb */ color: rgb(71, 81, 12);
/* oklch */ color: oklch(41.2% 0.089 117.9);
Tailwind
colors: {
  custom: {
    50: '#7d8152',
    500: '#47510c',
    950: '#000000',
  },
}
SCSS
$custom: #47510c;
$custom-light: #7d8152;
$custom-dark: #000000;
JSON
{
  "hex": "#47510c",
  "rgb": {
    "r": 71,
    "g": 81,
    "b": 12
  },
  "hsl": {
    "h": 68.696,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.41227,
    "c": 0.08911,
    "h": 117.9
  },
  "luminance": 0.07251
}

Semantic roles & 50–950 ramp

primary
#47510C
secondary
#3A2C8C
accent
#37F152
background
#F7F7F4
surface
#EEEEE7
border
#C9C9C3
text
#0A0A02
muted
#7C7C78

Preview Lab

Preview with #47510C

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

Preview Lab → · Contrast checker → · Palette generator →

#47510C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva