#474C18#474C18

#474C18 is a dark, moderate yellow. Relative luminance 0.066; OKLCH L 40.0% C 0.073 H 114.4°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#474C18
RGBrgb(71, 76, 24)
HSLhsl(66, 52%, 20%)
HSVhsv(66, 68%, 30%)
CMYKcmyk(6.6%, 0%, 68.4%, 70.2%)
CIE-LABlab(30.82, -10.20, 29.29)
CIE-LCHlch(30.82, 31.02, 109.21°)
OKLaboklab(40.01% -0.0303 0.0669)
OKLCHoklch(40.01% 0.073 114.4)
XYZxyz(5.3480, 6.5745, 1.8513)
Luminance0.0657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474C18 #1D184C
analogous
#4C3718 #474C18 #2D4C18
triadic
#474C18 #18474C #4C1847
tetradic
#474C18 #184C37 #1D184C #4C182D
square
#474C18 #184C37 #1D184C #4C182D
split-complementary
#474C18 #182D4C #37184C
monochromatic
#161707 #1C1D09 #474C18 #727B27 #9EA935

Accessibility & contrast

On white

9.07
#474C18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#474C18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474C18
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474C18#FFFFFF#000000##FFFFFF
##474C181.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524812
Deuteranopia (green-blind)
#51491B
Tritanopia (blue-blind)
#4C4741
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #474c18;
/* rgb */ color: rgb(71, 76, 24);
/* oklch */ color: oklch(40.0% 0.073 114.4);
Tailwind
colors: {
  custom: {
    50: '#7c7d58',
    500: '#474c18',
    950: '#000000',
  },
}
SCSS
$custom: #474c18;
$custom-light: #7c7d58;
$custom-dark: #000000;
JSON
{
  "hex": "#474c18",
  "rgb": {
    "r": 71,
    "g": 76,
    "b": 24
  },
  "hsl": {
    "h": 65.769,
    "s": 52,
    "l": 19.608
  },
  "oklch": {
    "l": 0.40008,
    "c": 0.07345,
    "h": 114.4
  },
  "luminance": 0.06574
}

Semantic roles & 50–950 ramp

primary
#474C18
secondary
#443D83
accent
#4CDB5A
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0903
muted
#7C7B78

Preview Lab

Preview with #474C18

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

Preview Lab → · Contrast checker → · Palette generator →

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