#474B28#474B28

#474B28 is a dark, muted yellow. Relative luminance 0.065; OKLCH L 40.0% C 0.054 H 114.2°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#474B28
RGBrgb(71, 75, 40)
HSLhsl(67, 30%, 23%)
HSVhsv(67, 47%, 29%)
CMYKcmyk(5.3%, 0%, 46.7%, 70.6%)
CIE-LABlab(30.70, -7.93, 20.27)
CIE-LCHlch(30.70, 21.76, 111.36°)
OKLaboklab(39.98% -0.022 0.0491)
OKLCHoklch(39.98% 0.054 114.2)
XYZxyz(5.4977, 6.5250, 2.9769)
Luminance0.0653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474B28 #2C284B
analogous
#4B3D28 #474B28 #364B28
triadic
#474B28 #28474B #4B2847
tetradic
#474B28 #284B3D #2C284B #4B2836
square
#474B28 #284B3D #2C284B #4B2836
split-complementary
#474B28 #28364B #3D284B
monochromatic
#13140B #212313 #474B28 #6D733D #939B53

Accessibility & contrast

On white

9.11
#474B28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#474B28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474B28
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474B28#FFFFFF#000000##FFFFFF
##474B281.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504825
Deuteranopia (green-blind)
#4F492A
Tritanopia (blue-blind)
#4B4743
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #474b28;
/* rgb */ color: rgb(71, 75, 40);
/* oklch */ color: oklch(40.0% 0.054 114.2);
Tailwind
colors: {
  custom: {
    50: '#7b7d62',
    500: '#474b28',
    950: '#000000',
  },
}
SCSS
$custom: #474b28;
$custom-light: #7b7d62;
$custom-dark: #000000;
JSON
{
  "hex": "#474b28",
  "rgb": {
    "r": 71,
    "g": 75,
    "b": 40
  },
  "hsl": {
    "h": 66.857,
    "s": 30.435,
    "l": 22.549
  },
  "oklch": {
    "l": 0.39981,
    "c": 0.05381,
    "h": 114.2
  },
  "luminance": 0.06525
}

Semantic roles & 50–950 ramp

primary
#474B28
secondary
#56517D
accent
#61C76D
background
#F7F7F5
surface
#EEEEEA
border
#C9C9C6
text
#090905
muted
#7B7B79

Preview Lab

Preview with #474B28

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

Preview Lab → · Contrast checker → · Palette generator →

#474B28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva