#474C0C#474C0C

#474C0C is a dark, moderate yellow. Relative luminance 0.065; OKLCH L 39.9% C 0.083 H 114.1°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#474C0C
RGBrgb(71, 76, 12)
HSLhsl(65, 73%, 17%)
HSVhsv(65, 84%, 30%)
CMYKcmyk(6.6%, 0%, 84.2%, 70.2%)
CIE-LABlab(30.72, -10.98, 34.47)
CIE-LCHlch(30.72, 36.18, 107.68°)
OKLaboklab(39.9% -0.0338 0.0755)
OKLCHoklch(39.9% 0.083 114.1)
XYZxyz(5.2495, 6.5351, 1.3326)
Luminance0.0654 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474C0C #110C4C
analogous
#4C310C #474C0C #274C0C
triadic
#474C0C #0C474C #4C0C47
tetradic
#474C0C #0C4C31 #110C4C #4C0C27
square
#474C0C #0C4C31 #110C4C #4C0C27
split-complementary
#474C0C #0C274C #310C4C
monochromatic
#191A04 #191A04 #474C0C #788114 #AAB61D

Accessibility & contrast

On white

9.10
#474C0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #474C0C
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474C0C#FFFFFF#000000##FFFFFF
##474C0C1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524800
Deuteranopia (green-blind)
#524912
Tritanopia (blue-blind)
#4C4740
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #474c0c;
/* rgb */ color: rgb(71, 76, 12);
/* oklch */ color: oklch(39.9% 0.083 114.1);
Tailwind
colors: {
  custom: {
    50: '#7d7d51',
    500: '#474c0c',
    950: '#000000',
  },
}
SCSS
$custom: #474c0c;
$custom-light: #7d7d51;
$custom-dark: #000000;
JSON
{
  "hex": "#474c0c",
  "rgb": {
    "r": 71,
    "g": 76,
    "b": 12
  },
  "hsl": {
    "h": 64.688,
    "s": 72.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.39903,
    "c": 0.08276,
    "h": 114.1
  },
  "luminance": 0.06535
}

Semantic roles & 50–950 ramp

primary
#474C0C
secondary
#332C88
accent
#38EF47
background
#F7F7F4
surface
#EEEEE7
border
#C9C9C3
text
#0A0902
muted
#7C7B78

Preview Lab

Preview with #474C0C

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

Preview Lab → · Contrast checker → · Palette generator →

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