#474F12#474F12

#474F12 is a dark, moderate yellow. Relative luminance 0.070; OKLCH L 40.7% C 0.083 H 116.7°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#474F12
RGBrgb(71, 79, 18)
HSLhsl(68, 63%, 19%)
HSVhsv(68, 77%, 31%)
CMYKcmyk(10.1%, 0%, 77.2%, 69%)
CIE-LABlab(31.75, -12.38, 33.05)
CIE-LCHlch(31.75, 35.29, 110.54°)
OKLaboklab(40.74% -0.0371 0.0737)
OKLCHoklch(40.74% 0.083 116.7)
XYZxyz(5.5038, 6.9753, 1.6286)
Luminance0.0698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474F12 #1A124F
analogous
#4F3912 #474F12 #294F12
triadic
#474F12 #12474F #4F1247
tetradic
#474F12 #124F39 #1A124F #4F1229
square
#474F12 #124F39 #1A124F #4F1229
split-complementary
#474F12 #12294F #39124F
monochromatic
#161906 #1A1D07 #474F12 #74811D #A1B329

Accessibility & contrast

On white

8.77
#474F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #474F12
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474F12#FFFFFF#000000##FFFFFF
##474F121.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #474f12;
/* rgb */ color: rgb(71, 79, 18);
/* oklch */ color: oklch(40.7% 0.083 116.7);
Tailwind
colors: {
  custom: {
    50: '#7c8054',
    500: '#474f12',
    950: '#000000',
  },
}
SCSS
$custom: #474f12;
$custom-light: #7c8054;
$custom-dark: #000000;
JSON
{
  "hex": "#474f12",
  "rgb": {
    "r": 71,
    "g": 79,
    "b": 18
  },
  "hsl": {
    "h": 67.869,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.4074,
    "c": 0.08255,
    "h": 116.7
  },
  "luminance": 0.06975
}

Semantic roles & 50–950 ramp

primary
#474F12
secondary
#403588
accent
#42E657
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #474F12

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

Preview Lab → · Contrast checker → · Palette generator →

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