#475015#475015

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

Color values

HEX#475015
RGBrgb(71, 80, 21)
HSLhsl(69, 58%, 20%)
HSVhsv(69, 74%, 31%)
CMYKcmyk(11.2%, 0%, 73.7%, 68.6%)
CIE-LABlab(32.10, -12.75, 32.08)
CIE-LCHlch(32.10, 34.52, 111.68°)
OKLaboklab(41.03% -0.0378 0.0722)
OKLCHoklch(41.03% 0.082 117.6)
XYZxyz(5.6027, 7.1311, 1.7906)
Luminance0.0713 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475015 #1E1550
analogous
#503C15 #475015 #295015
triadic
#475015 #154750 #501547
tetradic
#475015 #15503C #1E1550 #501529
square
#475015 #15503C #1E1550 #501529
split-complementary
#475015 #152950 #3C1550
monochromatic
#161806 #1C2008 #475015 #728022 #9DB12E

Accessibility & contrast

On white

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

On black

2.43
#475015 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##475015#FFFFFF#000000##FFFFFF
##4750151.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #475015;
/* rgb */ color: rgb(71, 80, 21);
/* oklch */ color: oklch(41.0% 0.082 117.6);
Tailwind
colors: {
  custom: {
    50: '#7c8156',
    500: '#475015',
    950: '#000000',
  },
}
SCSS
$custom: #475015;
$custom-light: #7c8156;
$custom-dark: #000000;
JSON
{
  "hex": "#475015",
  "rgb": {
    "r": 71,
    "g": 80,
    "b": 21
  },
  "hsl": {
    "h": 69.153,
    "s": 58.416,
    "l": 19.804
  },
  "oklch": {
    "l": 0.41031,
    "c": 0.08153,
    "h": 117.6
  },
  "luminance": 0.07131
}

Semantic roles & 50–950 ramp

primary
#475015
secondary
#453988
accent
#46E25E
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #475015

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

Preview Lab → · Contrast checker → · Palette generator →

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