#474D28#474D28

#474D28 is a dark, muted yellow. Relative luminance 0.068; OKLCH L 40.5% C 0.057 H 116.6°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#474D28
RGBrgb(71, 77, 40)
HSLhsl(70, 32%, 23%)
HSVhsv(70, 48%, 30%)
CMYKcmyk(7.8%, 0%, 48.1%, 69.8%)
CIE-LABlab(31.35, -9.12, 21.08)
CIE-LCHlch(31.35, 22.96, 113.40°)
OKLaboklab(40.5% -0.0254 0.0509)
OKLCHoklch(40.5% 0.057 116.6)
XYZxyz(5.6355, 6.8006, 3.0228)
Luminance0.0680 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474D28 #2E284D
analogous
#4D4028 #474D28 #344D28
triadic
#474D28 #28474D #4D2847
tetradic
#474D28 #284D40 #2E284D #4D2834
square
#474D28 #284D40 #2E284D #4D2834
split-complementary
#474D28 #28344D #40284D
monochromatic
#13140A #222513 #474D28 #6C753D #919E52

Accessibility & contrast

On white

8.90
#474D28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#474D28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474D28
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474D28#FFFFFF#000000##FFFFFF
##474D281.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524A25
Deuteranopia (green-blind)
#514A2A
Tritanopia (blue-blind)
#4B4944
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #474d28;
/* rgb */ color: rgb(71, 77, 40);
/* oklch */ color: oklch(40.5% 0.057 116.6);
Tailwind
colors: {
  custom: {
    50: '#7b7e62',
    500: '#474d28',
    950: '#000000',
  },
}
SCSS
$custom: #474d28;
$custom-light: #7b7e62;
$custom-dark: #000000;
JSON
{
  "hex": "#474d28",
  "rgb": {
    "r": 71,
    "g": 77,
    "b": 40
  },
  "hsl": {
    "h": 69.73,
    "s": 31.624,
    "l": 22.941
  },
  "oklch": {
    "l": 0.40499,
    "c": 0.0569,
    "h": 116.6
  },
  "luminance": 0.06801
}

Semantic roles & 50–950 ramp

primary
#474D28
secondary
#595180
accent
#60C871
background
#F7F7F5
surface
#EEEEEA
border
#C9C9C6
text
#090A05
muted
#7B7C79

Preview Lab

Preview with #474D28

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

Preview Lab → · Contrast checker → · Palette generator →

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