#474907#474907

#474907 is a dark, moderate yellow. Relative luminance 0.061; OKLCH L 39.1% C 0.082 H 111.5°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#474907
RGBrgb(71, 73, 7)
HSLhsl(62, 83%, 16%)
HSVhsv(62, 90%, 29%)
CMYKcmyk(2.7%, 0%, 90.4%, 71.4%)
CIE-LABlab(29.71, -9.45, 35.35)
CIE-LCHlch(29.71, 36.59, 104.97°)
OKLaboklab(39.09% -0.0301 0.0763)
OKLCHoklch(39.09% 0.082 111.5)
XYZxyz(5.0196, 6.1202, 1.1179)
Luminance0.0612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474907 #090749
analogous
#492A07 #474907 #264907
triadic
#474907 #074749 #490747
tetradic
#474907 #07492A #090749 #490726
square
#474907 #07492A #090749 #490726
split-complementary
#474907 #072649 #2A0749
monochromatic
#1B1C03 #1B1C03 #474907 #7D810C #B4B912

Accessibility & contrast

On white

9.44
#474907 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#474907 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474907
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474907#FFFFFF#000000##FFFFFF
##4749071.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504500
Deuteranopia (green-blind)
#50470D
Tritanopia (blue-blind)
#4D443D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #474907;
/* rgb */ color: rgb(71, 73, 7);
/* oklch */ color: oklch(39.1% 0.082 111.5);
Tailwind
colors: {
  custom: {
    50: '#7d7b4e',
    500: '#474907',
    950: '#000000',
  },
}
SCSS
$custom: #474907;
$custom-light: #7d7b4e;
$custom-dark: #000000;
JSON
{
  "hex": "#474907",
  "rgb": {
    "r": 71,
    "g": 73,
    "b": 7
  },
  "hsl": {
    "h": 61.818,
    "s": 82.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.39085,
    "c": 0.08201,
    "h": 111.5
  },
  "luminance": 0.0612
}

Semantic roles & 50–950 ramp

primary
#474907
secondary
#272488
accent
#2FF935
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#0A0902
muted
#7C7B78

Preview Lab

Preview with #474907

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

Preview Lab → · Contrast checker → · Palette generator →

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