#474811#474811

#474811 is a dark, moderate yellow. Relative luminance 0.060; OKLCH L 38.9% C 0.074 H 110.4°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#474811
RGBrgb(71, 72, 17)
HSLhsl(61, 62%, 17%)
HSVhsv(61, 76%, 28%)
CMYKcmyk(1.4%, 0%, 76.4%, 71.8%)
CIE-LABlab(29.45, -8.34, 31.21)
CIE-LCHlch(29.45, 32.31, 104.97°)
OKLaboklab(38.89% -0.0259 0.0697)
OKLCHoklch(38.89% 0.074 110.4)
XYZxyz(5.0172, 6.0149, 1.4269)
Luminance0.0602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474811 #121148
analogous
#482E11 #474811 #2B4811
triadic
#474811 #114748 #481147
tetradic
#474811 #11482E #121148 #48112B
square
#474811 #11482E #121148 #48112B
split-complementary
#474811 #112B48 #2E1148
monochromatic
#181906 #181906 #474811 #787A1D #A9AB28

Accessibility & contrast

On white

9.53
#474811 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#474811 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474811
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474811#FFFFFF#000000##FFFFFF
##4748111.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4508
Deuteranopia (green-blind)
#4F4615
Tritanopia (blue-blind)
#4C433D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #474811;
/* rgb */ color: rgb(71, 72, 17);
/* oklch */ color: oklch(38.9% 0.074 110.4);
Tailwind
colors: {
  custom: {
    50: '#7c7a53',
    500: '#474811',
    950: '#000000',
  },
}
SCSS
$custom: #474811;
$custom-light: #7c7a53;
$custom-dark: #000000;
JSON
{
  "hex": "#474811",
  "rgb": {
    "r": 71,
    "g": 72,
    "b": 17
  },
  "hsl": {
    "h": 61.091,
    "s": 61.798,
    "l": 17.451
  },
  "oklch": {
    "l": 0.38894,
    "c": 0.07434,
    "h": 110.4
  },
  "luminance": 0.06015
}

Semantic roles & 50–950 ramp

primary
#474811
secondary
#353382
accent
#43E546
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#0A0902
muted
#7C7B78

Preview Lab

Preview with #474811

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

Preview Lab → · Contrast checker → · Palette generator →

#474811 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva