#474B18#474B18

#474B18 is a dark, moderate yellow. Relative luminance 0.064; OKLCH L 39.7% C 0.072 H 113.4°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#474B18
RGBrgb(71, 75, 24)
HSLhsl(65, 52%, 19%)
HSVhsv(65, 68%, 29%)
CMYKcmyk(5.3%, 0%, 68%, 70.6%)
CIE-LABlab(30.49, -9.62, 28.94)
CIE-LCHlch(30.49, 30.50, 108.38°)
OKLaboklab(39.75% -0.0287 0.0661)
OKLCHoklch(39.75% 0.072 113.4)
XYZxyz(5.2796, 6.4378, 1.8285)
Luminance0.0644 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474B18 #1C184B
analogous
#4B3618 #474B18 #2E4B18
triadic
#474B18 #18474B #4B1847
tetradic
#474B18 #184B36 #1C184B #4B182E
square
#474B18 #184B36 #1C184B #4B182E
split-complementary
#474B18 #182E4B #36184B
monochromatic
#161707 #1B1D09 #474B18 #737927 #9FA836

Accessibility & contrast

On white

9.18
#474B18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#474B18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474B18
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474B18#FFFFFF#000000##FFFFFF
##474B181.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514712
Deuteranopia (green-blind)
#51481B
Tritanopia (blue-blind)
#4C4640
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #474b18;
/* rgb */ color: rgb(71, 75, 24);
/* oklch */ color: oklch(39.7% 0.072 113.4);
Tailwind
colors: {
  custom: {
    50: '#7c7d57',
    500: '#474b18',
    950: '#000000',
  },
}
SCSS
$custom: #474b18;
$custom-light: #7c7d57;
$custom-dark: #000000;
JSON
{
  "hex": "#474b18",
  "rgb": {
    "r": 71,
    "g": 75,
    "b": 24
  },
  "hsl": {
    "h": 64.706,
    "s": 51.515,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39747,
    "c": 0.07209,
    "h": 113.4
  },
  "luminance": 0.06438
}

Semantic roles & 50–950 ramp

primary
#474B18
secondary
#423D82
accent
#4DDB58
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0903
muted
#7C7B78

Preview Lab

Preview with #474B18

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

Preview Lab → · Contrast checker → · Palette generator →

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