#474A18#474A18

#474A18 is a dark, moderate yellow. Relative luminance 0.063; OKLCH L 39.5% C 0.071 H 112.4°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#474A18
RGBrgb(71, 74, 24)
HSLhsl(64, 51%, 19%)
HSVhsv(64, 68%, 29%)
CMYKcmyk(4.1%, 0%, 67.6%, 71%)
CIE-LABlab(30.16, -9.02, 28.59)
CIE-LCHlch(30.16, 29.98, 107.52°)
OKLaboklab(39.49% -0.027 0.0654)
OKLCHoklch(39.49% 0.071 112.4)
XYZxyz(5.2123, 6.3032, 1.8060)
Luminance0.0630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474A18 #1B184A
analogous
#4A3418 #474A18 #2E4A18
triadic
#474A18 #18474A #4A1847
tetradic
#474A18 #184A34 #1B184A #4A182E
square
#474A18 #184A34 #1B184A #4A182E
split-complementary
#474A18 #182E4A #34184A
monochromatic
#161707 #1B1C09 #474A18 #737827 #A0A636

Accessibility & contrast

On white

9.29
#474A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#474A18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474A18
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474A18#FFFFFF#000000##FFFFFF
##474A181.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504612
Deuteranopia (green-blind)
#50481B
Tritanopia (blue-blind)
#4C453F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #474a18;
/* rgb */ color: rgb(71, 74, 24);
/* oklch */ color: oklch(39.5% 0.071 112.4);
Tailwind
colors: {
  custom: {
    50: '#7c7c57',
    500: '#474a18',
    950: '#000000',
  },
}
SCSS
$custom: #474a18;
$custom-light: #7c7c57;
$custom-dark: #000000;
JSON
{
  "hex": "#474a18",
  "rgb": {
    "r": 71,
    "g": 74,
    "b": 24
  },
  "hsl": {
    "h": 63.6,
    "s": 51.02,
    "l": 19.216
  },
  "oklch": {
    "l": 0.39486,
    "c": 0.07076,
    "h": 112.4
  },
  "luminance": 0.06303
}

Semantic roles & 50–950 ramp

primary
#474A18
secondary
#413D81
accent
#4DDA56
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0903
muted
#7C7B78

Preview Lab

Preview with #474A18

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

Preview Lab → · Contrast checker → · Palette generator →

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