#474231#474231

#474231 is a dark, muted yellow. Relative luminance 0.055; OKLCH L 37.9% C 0.028 H 93.6°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#474231
RGBrgb(71, 66, 49)
HSLhsl(46, 18%, 24%)
HSVhsv(46, 31%, 28%)
CMYKcmyk(0%, 7%, 31%, 72.2%)
CIE-LABlab(28.00, -1.06, 11.14)
CIE-LCHlch(28.00, 11.19, 95.43°)
OKLaboklab(37.9% -0.0018 0.0282)
OKLCHoklch(37.9% 0.028 93.6)
XYZxyz(5.1012, 5.4579, 3.6899)
Luminance0.0546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474231 #313647
analogous
#473731 #474231 #414731
triadic
#474231 #314742 #423147
tetradic
#474231 #314737 #313647 #473141
square
#474231 #314737 #313647 #473141
split-complementary
#474231 #314147 #373147
monochromatic
#12110C #232018 #474231 #6B644A #8F8563

Accessibility & contrast

On white

10.04
#474231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#474231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474231
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474231#FFFFFF#000000##FFFFFF
##4742311.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464130
Deuteranopia (green-blind)
#474332
Tritanopia (blue-blind)
#4B3F3D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #474231;
/* rgb */ color: rgb(71, 66, 49);
/* oklch */ color: oklch(37.9% 0.028 93.6);
Tailwind
colors: {
  custom: {
    50: '#7a7669',
    500: '#474231',
    950: '#000000',
  },
}
SCSS
$custom: #474231;
$custom-light: #7a7669;
$custom-dark: #000000;
JSON
{
  "hex": "#474231",
  "rgb": {
    "r": 71,
    "g": 66,
    "b": 49
  },
  "hsl": {
    "h": 46.364,
    "s": 18.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.37897,
    "c": 0.02824,
    "h": 93.6
  },
  "luminance": 0.05458
}

Semantic roles & 50–950 ramp

primary
#474231
secondary
#5C6277
accent
#7FBB6D
background
#F7F7F6
surface
#EDEDEB
border
#C8C8C6
text
#090806
muted
#7B7B7A

Preview Lab

Preview with #474231

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

Preview Lab → · Contrast checker → · Palette generator →

#474231 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva