#474F0F#474F0F

#474F0F is a dark, moderate yellow. Relative luminance 0.070; OKLCH L 40.7% C 0.085 H 116.6°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#474F0F
RGBrgb(71, 79, 15)
HSLhsl(68, 68%, 18%)
HSVhsv(68, 81%, 31%)
CMYKcmyk(10.1%, 0%, 81%, 69%)
CIE-LABlab(31.73, -12.56, 34.27)
CIE-LCHlch(31.73, 36.50, 110.13°)
OKLaboklab(40.72% -0.0379 0.0757)
OKLCHoklch(40.72% 0.085 116.6)
XYZxyz(5.4809, 6.9661, 1.5077)
Luminance0.0697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474F0F #170F4F
analogous
#4F370F #474F0F #274F0F
triadic
#474F0F #0F474F #4F0F47
tetradic
#474F0F #0F4F37 #170F4F #4F0F27
square
#474F0F #0F4F37 #170F4F #4F0F27
split-complementary
#474F0F #0F274F #370F4F
monochromatic
#171A05 #191C05 #474F0F #758219 #A3B623

Accessibility & contrast

On white

8.77
#474F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#474F0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474F0F
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474F0F#FFFFFF#000000##FFFFFF
##474F0F1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A03
Deuteranopia (green-blind)
#544B14
Tritanopia (blue-blind)
#4C4A43
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #474f0f;
/* rgb */ color: rgb(71, 79, 15);
/* oklch */ color: oklch(40.7% 0.085 116.6);
Tailwind
colors: {
  custom: {
    50: '#7d8053',
    500: '#474f0f',
    950: '#000000',
  },
}
SCSS
$custom: #474f0f;
$custom-light: #7d8053;
$custom-dark: #000000;
JSON
{
  "hex": "#474f0f",
  "rgb": {
    "r": 71,
    "g": 79,
    "b": 15
  },
  "hsl": {
    "h": 67.5,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.40716,
    "c": 0.08467,
    "h": 116.6
  },
  "luminance": 0.06966
}

Semantic roles & 50–950 ramp

primary
#474F0F
secondary
#3C3189
accent
#3DEB53
background
#F7F7F4
surface
#EEEEE7
border
#C9C9C3
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #474F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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