#474B2F#474B2F

#474B2F is a dark, muted yellow. Relative luminance 0.066; OKLCH L 40.1% C 0.044 H 115.0°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#474B2F
RGBrgb(71, 75, 47)
HSLhsl(69, 23%, 24%)
HSVhsv(69, 37%, 29%)
CMYKcmyk(5.3%, 0%, 37.3%, 70.6%)
CIE-LABlab(30.82, -6.95, 16.17)
CIE-LCHlch(30.82, 17.60, 113.24°)
OKLaboklab(40.12% -0.0187 0.0401)
OKLCHoklch(40.12% 0.044 115)
XYZxyz(5.6277, 6.5770, 3.6618)
Luminance0.0658 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474B2F #332F4B
analogous
#4B412F #474B2F #394B2F
triadic
#474B2F #2F474B #4B2F47
tetradic
#474B2F #2F4B41 #332F4B #4B2F39
square
#474B2F #2F4B41 #332F4B #4B2F39
split-complementary
#474B2F #2F394B #412F4B
monochromatic
#12130C #232517 #474B2F #6B7147 #8E965E

Accessibility & contrast

On white

9.07
#474B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#474B2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474B2F
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474B2F#FFFFFF#000000##FFFFFF
##474B2F1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F482D
Deuteranopia (green-blind)
#4F4930
Tritanopia (blue-blind)
#4A4844
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #474b2f;
/* rgb */ color: rgb(71, 75, 47);
/* oklch */ color: oklch(40.1% 0.044 115.0);
Tailwind
colors: {
  custom: {
    50: '#7a7d68',
    500: '#474b2f',
    950: '#000000',
  },
}
SCSS
$custom: #474b2f;
$custom-light: #7a7d68;
$custom-dark: #000000;
JSON
{
  "hex": "#474b2f",
  "rgb": {
    "r": 71,
    "g": 75,
    "b": 47
  },
  "hsl": {
    "h": 68.571,
    "s": 22.951,
    "l": 23.922
  },
  "oklch": {
    "l": 0.4012,
    "c": 0.04423,
    "h": 115
  },
  "luminance": 0.06577
}

Semantic roles & 50–950 ramp

primary
#474B2F
secondary
#5F5A7C
accent
#68BF75
background
#F7F7F6
surface
#EDEEEB
border
#C8C9C6
text
#090906
muted
#7B7B7A

Preview Lab

Preview with #474B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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