#474F1A#474F1A

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

Color values

HEX#474F1A
RGBrgb(71, 79, 26)
HSLhsl(69, 50%, 21%)
HSVhsv(69, 67%, 31%)
CMYKcmyk(10.1%, 0%, 67.1%, 69%)
CIE-LABlab(31.82, -11.78, 29.37)
CIE-LCHlch(31.82, 31.65, 111.86°)
OKLaboklab(40.82% -0.0345 0.0674)
OKLCHoklch(40.82% 0.076 117.1)
XYZxyz(5.5811, 7.0062, 2.0354)
Luminance0.0701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474F1A #221A4F
analogous
#4F3C1A #474F1A #2C4F1A
triadic
#474F1A #1A474F #4F1A47
tetradic
#474F1A #1A4F3C #221A4F #4F1A2C
square
#474F1A #1A4F3C #221A4F #4F1A2C
split-complementary
#474F1A #1A2C4F #3C1A4F
monochromatic
#151708 #1E210B #474F1A #707D29 #9AAB38

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##474F1A#FFFFFF#000000##FFFFFF
##474F1A1.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)
#554B14
Deuteranopia (green-blind)
#544B1D
Tritanopia (blue-blind)
#4B4A44
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #474f1a;
/* rgb */ color: rgb(71, 79, 26);
/* oklch */ color: oklch(40.8% 0.076 117.1);
Tailwind
colors: {
  custom: {
    50: '#7c8059',
    500: '#474f1a',
    950: '#000000',
  },
}
SCSS
$custom: #474f1a;
$custom-light: #7c8059;
$custom-dark: #000000;
JSON
{
  "hex": "#474f1a",
  "rgb": {
    "r": 71,
    "g": 79,
    "b": 26
  },
  "hsl": {
    "h": 69.057,
    "s": 50.476,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40819,
    "c": 0.0757,
    "h": 117.1
  },
  "luminance": 0.07006
}

Semantic roles & 50–950 ramp

primary
#474F1A
secondary
#4A4085
accent
#4EDA63
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #474F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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