#474F17#474F17

#474F17 is a dark, moderate yellow. Relative luminance 0.070; OKLCH L 40.8% C 0.078 H 117.0°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#474F17
RGBrgb(71, 79, 23)
HSLhsl(69, 55%, 20%)
HSVhsv(69, 71%, 31%)
CMYKcmyk(10.1%, 0%, 70.9%, 69%)
CIE-LABlab(31.79, -12.03, 30.82)
CIE-LCHlch(31.79, 33.08, 111.32°)
OKLaboklab(40.79% -0.0356 0.0699)
OKLCHoklch(40.79% 0.078 117)
XYZxyz(5.5493, 6.9935, 1.8680)
Luminance0.0699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474F17 #1F174F
analogous
#4F3B17 #474F17 #2B4F17
triadic
#474F17 #17474F #4F1747
tetradic
#474F17 #174F3B #1F174F #4F172B
square
#474F17 #174F3B #1F174F #4F172B
split-complementary
#474F17 #172B4F #3B174F
monochromatic
#151807 #1C2009 #474F17 #727E25 #9CAE33

Accessibility & contrast

On white

8.76
#474F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#474F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474F17
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474F17#FFFFFF#000000##FFFFFF
##474F171.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B10
Deuteranopia (green-blind)
#544B1B
Tritanopia (blue-blind)
#4C4A43
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #474f17;
/* rgb */ color: rgb(71, 79, 23);
/* oklch */ color: oklch(40.8% 0.078 117.0);
Tailwind
colors: {
  custom: {
    50: '#7c8057',
    500: '#474f17',
    950: '#000000',
  },
}
SCSS
$custom: #474f17;
$custom-light: #7c8057;
$custom-dark: #000000;
JSON
{
  "hex": "#474f17",
  "rgb": {
    "r": 71,
    "g": 79,
    "b": 23
  },
  "hsl": {
    "h": 68.571,
    "s": 54.902,
    "l": 20
  },
  "oklch": {
    "l": 0.40786,
    "c": 0.07846,
    "h": 117
  },
  "luminance": 0.06993
}

Semantic roles & 50–950 ramp

primary
#474F17
secondary
#463C86
accent
#4ADE5F
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #474F17

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

Preview Lab → · Contrast checker → · Palette generator →

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