#475011#475011

#475011 is a dark, moderate yellow. Relative luminance 0.071; OKLCH L 41.0% C 0.085 H 117.4°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#475011
RGBrgb(71, 80, 17)
HSLhsl(69, 65%, 19%)
HSVhsv(69, 79%, 31%)
CMYKcmyk(11.2%, 0%, 78.8%, 68.6%)
CIE-LABlab(32.07, -13.02, 33.79)
CIE-LCHlch(32.07, 36.21, 111.07°)
OKLaboklab(41% -0.039 0.0751)
OKLCHoklch(41% 0.085 117.4)
XYZxyz(5.5685, 7.1174, 1.6107)
Luminance0.0712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475011 #1A1150
analogous
#503A11 #475011 #285011
triadic
#475011 #114750 #501147
tetradic
#475011 #11503A #1A1150 #501128
square
#475011 #11503A #1A1150 #501128
split-complementary
#475011 #112850 #3A1150
monochromatic
#161905 #1A1E06 #475011 #74821C #A1B526

Accessibility & contrast

On white

8.67
#475011 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#475011 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475011
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475011#FFFFFF#000000##FFFFFF
##4750111.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B06
Deuteranopia (green-blind)
#554C16
Tritanopia (blue-blind)
#4C4B44
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #475011;
/* rgb */ color: rgb(71, 80, 17);
/* oklch */ color: oklch(41.0% 0.085 117.4);
Tailwind
colors: {
  custom: {
    50: '#7c8154',
    500: '#475011',
    950: '#000000',
  },
}
SCSS
$custom: #475011;
$custom-light: #7c8154;
$custom-dark: #000000;
JSON
{
  "hex": "#475011",
  "rgb": {
    "r": 71,
    "g": 80,
    "b": 17
  },
  "hsl": {
    "h": 68.571,
    "s": 64.948,
    "l": 19.02
  },
  "oklch": {
    "l": 0.40996,
    "c": 0.0846,
    "h": 117.4
  },
  "luminance": 0.07117
}

Semantic roles & 50–950 ramp

primary
#475011
secondary
#403389
accent
#40E858
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #475011

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

Preview Lab → · Contrast checker → · Palette generator →

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