#474F18#474F18

#474F18 is a dark, moderate yellow. Relative luminance 0.070; OKLCH L 40.8% C 0.078 H 117.0°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#474F18
RGBrgb(71, 79, 24)
HSLhsl(69, 53%, 20%)
HSVhsv(69, 70%, 31%)
CMYKcmyk(10.1%, 0%, 69.6%, 69%)
CIE-LABlab(31.80, -11.95, 30.34)
CIE-LCHlch(31.80, 32.61, 111.50°)
OKLaboklab(40.8% -0.0352 0.0691)
OKLCHoklch(40.8% 0.078 117)
XYZxyz(5.5595, 6.9976, 1.9218)
Luminance0.0700 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474F18 #20184F
analogous
#4F3B18 #474F18 #2C4F18
triadic
#474F18 #18474F #4F1847
tetradic
#474F18 #184F3B #20184F #4F182C
square
#474F18 #184F3B #20184F #4F182C
split-complementary
#474F18 #182C4F #3B184F
monochromatic
#151707 #1D200A #474F18 #717E26 #9BAD35

Accessibility & contrast

On white

8.75
#474F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #474F18
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474F18#FFFFFF#000000##FFFFFF
##474F181.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B11
Deuteranopia (green-blind)
#544B1C
Tritanopia (blue-blind)
#4C4A44
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #474f18;
/* rgb */ color: rgb(71, 79, 24);
/* oklch */ color: oklch(40.8% 0.078 117.0);
Tailwind
colors: {
  custom: {
    50: '#7c8058',
    500: '#474f18',
    950: '#000000',
  },
}
SCSS
$custom: #474f18;
$custom-light: #7c8058;
$custom-dark: #000000;
JSON
{
  "hex": "#474f18",
  "rgb": {
    "r": 71,
    "g": 79,
    "b": 24
  },
  "hsl": {
    "h": 68.727,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40797,
    "c": 0.07757,
    "h": 117
  },
  "luminance": 0.06998
}

Semantic roles & 50–950 ramp

primary
#474F18
secondary
#483D86
accent
#4BDD60
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #474F18

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

Preview Lab → · Contrast checker → · Palette generator →

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