#474A0C#474A0C

#474A0C is a dark, moderate yellow. Relative luminance 0.063; OKLCH L 39.4% C 0.080 H 112.4°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#474A0C
RGBrgb(71, 74, 12)
HSLhsl(63, 72%, 17%)
HSVhsv(63, 84%, 29%)
CMYKcmyk(4.1%, 0%, 83.8%, 71%)
CIE-LABlab(30.07, -9.81, 33.87)
CIE-LCHlch(30.07, 35.26, 106.16°)
OKLaboklab(39.38% -0.0306 0.0742)
OKLCHoklch(39.38% 0.08 112.4)
XYZxyz(5.1138, 6.2638, 1.2874)
Luminance0.0626 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474A0C #0F0C4A
analogous
#4A2E0C #474A0C #284A0C
triadic
#474A0C #0C474A #4A0C47
tetradic
#474A0C #0C4A2E #0F0C4A #4A0C28
square
#474A0C #0C4A2E #0F0C4A #4A0C28
split-complementary
#474A0C #0C284A #2E0C4A
monochromatic
#191A04 #191A04 #474A0C #7A7F15 #ACB31D

Accessibility & contrast

On white

9.32
#474A0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#474A0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474A0C
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474A0C#FFFFFF#000000##FFFFFF
##474A0C1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504601
Deuteranopia (green-blind)
#504711
Tritanopia (blue-blind)
#4C453E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #474a0c;
/* rgb */ color: rgb(71, 74, 12);
/* oklch */ color: oklch(39.4% 0.080 112.4);
Tailwind
colors: {
  custom: {
    50: '#7d7c51',
    500: '#474a0c',
    950: '#000000',
  },
}
SCSS
$custom: #474a0c;
$custom-light: #7d7c51;
$custom-dark: #000000;
JSON
{
  "hex": "#474a0c",
  "rgb": {
    "r": 71,
    "g": 74,
    "b": 12
  },
  "hsl": {
    "h": 62.903,
    "s": 72.093,
    "l": 16.863
  },
  "oklch": {
    "l": 0.39378,
    "c": 0.0803,
    "h": 112.4
  },
  "luminance": 0.06264
}

Semantic roles & 50–950 ramp

primary
#474A0C
secondary
#302C86
accent
#39EF42
background
#F7F7F4
surface
#EEEEE7
border
#C9C9C3
text
#0A0902
muted
#7C7B78

Preview Lab

Preview with #474A0C

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

Preview Lab → · Contrast checker → · Palette generator →

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