#475012#475012

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

Color values

HEX#475012
RGBrgb(71, 80, 18)
HSLhsl(69, 63%, 19%)
HSVhsv(69, 78%, 31%)
CMYKcmyk(11.2%, 0%, 77.5%, 68.6%)
CIE-LABlab(32.08, -12.95, 33.38)
CIE-LCHlch(32.08, 35.80, 111.21°)
OKLaboklab(41% -0.0387 0.0744)
OKLCHoklch(41% 0.084 117.5)
XYZxyz(5.5765, 7.1206, 1.6528)
Luminance0.0712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475012 #1B1250
analogous
#503A12 #475012 #285012
triadic
#475012 #124750 #501247
tetradic
#475012 #12503A #1B1250 #501228
square
#475012 #12503A #1B1250 #501228
split-complementary
#475012 #122850 #3A1250
monochromatic
#161906 #1B1E07 #475012 #73821D #A0B428

Accessibility & contrast

On white

8.66
#475012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #475012
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475012#FFFFFF#000000##FFFFFF
##4750121.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #475012;
/* rgb */ color: rgb(71, 80, 18);
/* oklch */ color: oklch(41.0% 0.084 117.5);
Tailwind
colors: {
  custom: {
    50: '#7c8155',
    500: '#475012',
    950: '#000000',
  },
}
SCSS
$custom: #475012;
$custom-light: #7c8155;
$custom-dark: #000000;
JSON
{
  "hex": "#475012",
  "rgb": {
    "r": 71,
    "g": 80,
    "b": 18
  },
  "hsl": {
    "h": 68.71,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.41004,
    "c": 0.08388,
    "h": 117.5
  },
  "luminance": 0.07121
}

Semantic roles & 50–950 ramp

primary
#475012
secondary
#413589
accent
#41E659
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #475012

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

Preview Lab → · Contrast checker → · Palette generator →

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