#474E1D#474E1D

#474E1D is a dark, moderate yellow. Relative luminance 0.069; OKLCH L 40.6% C 0.071 H 116.5°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#474E1D
RGBrgb(71, 78, 29)
HSLhsl(69, 46%, 21%)
HSVhsv(69, 63%, 31%)
CMYKcmyk(9%, 0%, 62.8%, 69.4%)
CIE-LABlab(31.53, -10.93, 27.49)
CIE-LCHlch(31.53, 29.58, 111.69°)
OKLaboklab(40.59% -0.0318 0.0638)
OKLCHoklch(40.59% 0.071 116.5)
XYZxyz(5.5448, 6.8771, 2.1975)
Luminance0.0688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474E1D #241D4E
analogous
#4E3C1D #474E1D #2E4E1D
triadic
#474E1D #1D474E #4E1D47
tetradic
#474E1D #1D4E3C #241D4E #4E1D2E
square
#474E1D #1D4E3C #241D4E #4E1D2E
split-complementary
#474E1D #1D2E4E #3C1D4E
monochromatic
#141608 #1E210C #474E1D #707B2E #98A73E

Accessibility & contrast

On white

8.84
#474E1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#474E1D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474E1D
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474E1D#FFFFFF#000000##FFFFFF
##474E1D1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A18
Deuteranopia (green-blind)
#534B20
Tritanopia (blue-blind)
#4B4A43
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #474e1d;
/* rgb */ color: rgb(71, 78, 29);
/* oklch */ color: oklch(40.6% 0.071 116.5);
Tailwind
colors: {
  custom: {
    50: '#7c7f5b',
    500: '#474e1d',
    950: '#000000',
  },
}
SCSS
$custom: #474e1d;
$custom-light: #7c7f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#474e1d",
  "rgb": {
    "r": 71,
    "g": 78,
    "b": 29
  },
  "hsl": {
    "h": 68.571,
    "s": 45.794,
    "l": 20.98
  },
  "oklch": {
    "l": 0.40592,
    "c": 0.07127,
    "h": 116.5
  },
  "luminance": 0.06877
}

Semantic roles & 50–950 ramp

primary
#474E1D
secondary
#4D4483
accent
#52D565
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#090A04
muted
#7B7C79

Preview Lab

Preview with #474E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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