#474B0C#474B0C

#474B0C is a dark, moderate yellow. Relative luminance 0.064; OKLCH L 39.6% C 0.082 H 113.3°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#474B0C
RGBrgb(71, 75, 12)
HSLhsl(64, 72%, 17%)
HSVhsv(64, 84%, 29%)
CMYKcmyk(5.3%, 0%, 84%, 70.6%)
CIE-LABlab(30.40, -10.40, 34.17)
CIE-LCHlch(30.40, 35.72, 106.93°)
OKLaboklab(39.64% -0.0322 0.0749)
OKLCHoklch(39.64% 0.082 113.3)
XYZxyz(5.1811, 6.3984, 1.3098)
Luminance0.0640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474B0C #100C4B
analogous
#4B300C #474B0C #274B0C
triadic
#474B0C #0C474B #4B0C47
tetradic
#474B0C #0C4B30 #100C4B #4B0C27
square
#474B0C #0C4B30 #100C4B #4B0C27
split-complementary
#474B0C #0C274B #300C4B
monochromatic
#191A04 #191A04 #474B0C #798014 #ABB51D

Accessibility & contrast

On white

9.21
#474B0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#474B0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474B0C
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474B0C#FFFFFF#000000##FFFFFF
##474B0C1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514701
Deuteranopia (green-blind)
#514812
Tritanopia (blue-blind)
#4C463F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #474b0c;
/* rgb */ color: rgb(71, 75, 12);
/* oklch */ color: oklch(39.6% 0.082 113.3);
Tailwind
colors: {
  custom: {
    50: '#7d7d51',
    500: '#474b0c',
    950: '#000000',
  },
}
SCSS
$custom: #474b0c;
$custom-light: #7d7d51;
$custom-dark: #000000;
JSON
{
  "hex": "#474b0c",
  "rgb": {
    "r": 71,
    "g": 75,
    "b": 12
  },
  "hsl": {
    "h": 63.81,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.3964,
    "c": 0.08152,
    "h": 113.3
  },
  "luminance": 0.06398
}

Semantic roles & 50–950 ramp

primary
#474B0C
secondary
#322C87
accent
#39EF44
background
#F7F7F4
surface
#EEEEE7
border
#C9C9C3
text
#0A0902
muted
#7C7B78

Preview Lab

Preview with #474B0C

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

Preview Lab → · Contrast checker → · Palette generator →

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