#474B15#474B15

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

Color values

HEX#474B15
RGBrgb(71, 75, 21)
HSLhsl(64, 56%, 19%)
HSVhsv(64, 72%, 29%)
CMYKcmyk(5.3%, 0%, 72%, 70.6%)
CIE-LABlab(30.46, -9.85, 30.39)
CIE-LCHlch(30.46, 31.94, 107.96°)
OKLaboklab(39.72% -0.0297 0.0687)
OKLCHoklch(39.72% 0.075 113.4)
XYZxyz(5.2501, 6.4260, 1.6731)
Luminance0.0643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474B15 #19154B
analogous
#4B3415 #474B15 #2C4B15
triadic
#474B15 #15474B #4B1547
tetradic
#474B15 #154B34 #19154B #4B152C
square
#474B15 #154B34 #19154B #4B152C
split-complementary
#474B15 #152C4B #34154B
monochromatic
#171807 #1A1B08 #474B15 #747B22 #A2AB30

Accessibility & contrast

On white

9.19
#474B15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #474B15
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474B15#FFFFFF#000000##FFFFFF
##474B151.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51470E
Deuteranopia (green-blind)
#514819
Tritanopia (blue-blind)
#4C4640
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #474b15;
/* rgb */ color: rgb(71, 75, 21);
/* oklch */ color: oklch(39.7% 0.075 113.4);
Tailwind
colors: {
  custom: {
    50: '#7c7d56',
    500: '#474b15',
    950: '#000000',
  },
}
SCSS
$custom: #474b15;
$custom-light: #7c7d56;
$custom-dark: #000000;
JSON
{
  "hex": "#474b15",
  "rgb": {
    "r": 71,
    "g": 75,
    "b": 21
  },
  "hsl": {
    "h": 64.444,
    "s": 56.25,
    "l": 18.824
  },
  "oklch": {
    "l": 0.39715,
    "c": 0.07483,
    "h": 113.4
  },
  "luminance": 0.06426
}

Semantic roles & 50–950 ramp

primary
#474B15
secondary
#3E3983
accent
#48E053
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0903
muted
#7C7B78

Preview Lab

Preview with #474B15

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

Preview Lab → · Contrast checker → · Palette generator →

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