#474D18#474D18

#474D18 is a dark, moderate yellow. Relative luminance 0.067; OKLCH L 40.3% C 0.075 H 115.3°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#474D18
RGBrgb(71, 77, 24)
HSLhsl(67, 52%, 20%)
HSVhsv(67, 69%, 30%)
CMYKcmyk(7.8%, 0%, 68.8%, 69.8%)
CIE-LABlab(31.15, -10.79, 29.64)
CIE-LCHlch(31.15, 31.55, 110.00°)
OKLaboklab(40.27% -0.032 0.0676)
OKLCHoklch(40.27% 0.075 115.3)
XYZxyz(5.4174, 6.7134, 1.8744)
Luminance0.0671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474D18 #1E184D
analogous
#4D3818 #474D18 #2D4D18
triadic
#474D18 #18474D #4D1847
tetradic
#474D18 #184D38 #1E184D #4D182D
square
#474D18 #184D38 #1E184D #4D182D
split-complementary
#474D18 #182D4D #38184D
monochromatic
#161707 #1C1E09 #474D18 #727C27 #9DAA35

Accessibility & contrast

On white

8.96
#474D18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#474D18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474D18
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474D18#FFFFFF#000000##FFFFFF
##474D181.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534911
Deuteranopia (green-blind)
#524A1C
Tritanopia (blue-blind)
#4C4842
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #474d18;
/* rgb */ color: rgb(71, 77, 24);
/* oklch */ color: oklch(40.3% 0.075 115.3);
Tailwind
colors: {
  custom: {
    50: '#7c7e58',
    500: '#474d18',
    950: '#000000',
  },
}
SCSS
$custom: #474d18;
$custom-light: #7c7e58;
$custom-dark: #000000;
JSON
{
  "hex": "#474d18",
  "rgb": {
    "r": 71,
    "g": 77,
    "b": 24
  },
  "hsl": {
    "h": 66.792,
    "s": 52.475,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40271,
    "c": 0.07481,
    "h": 115.3
  },
  "luminance": 0.06713
}

Semantic roles & 50–950 ramp

primary
#474D18
secondary
#453D84
accent
#4CDC5C
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #474D18

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

Preview Lab → · Contrast checker → · Palette generator →

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