#474C0B#474C0B

#474C0B 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#474C0B
RGBrgb(71, 76, 11)
HSLhsl(65, 75%, 17%)
HSVhsv(65, 86%, 30%)
CMYKcmyk(6.6%, 0%, 85.5%, 70.2%)
CIE-LABlab(30.72, -11.03, 34.82)
CIE-LCHlch(30.72, 36.53, 107.58°)
OKLaboklab(39.9% -0.0341 0.0761)
OKLCHoklch(39.9% 0.083 114.1)
XYZxyz(5.2435, 6.5327, 1.3013)
Luminance0.0653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474C0B #100B4C
analogous
#4C310B #474C0B #274C0B
triadic
#474C0B #0B474C #4C0B47
tetradic
#474C0B #0B4C31 #100B4C #4C0B27
square
#474C0B #0B4C31 #100B4C #4C0B27
split-complementary
#474C0B #0B274C #310B4C
monochromatic
#191B04 #191B04 #474C0B #798113 #ABB71A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##474C0B#FFFFFF#000000##FFFFFF
##474C0B1.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)
#524911
Tritanopia (blue-blind)
#4C4740
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #474c0b;
/* rgb */ color: rgb(71, 76, 11);
/* oklch */ color: oklch(39.9% 0.083 114.1);
Tailwind
colors: {
  custom: {
    50: '#7d7d51',
    500: '#474c0b',
    950: '#000000',
  },
}
SCSS
$custom: #474c0b;
$custom-light: #7d7d51;
$custom-dark: #000000;
JSON
{
  "hex": "#474c0b",
  "rgb": {
    "r": 71,
    "g": 76,
    "b": 11
  },
  "hsl": {
    "h": 64.615,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.39897,
    "c": 0.08335,
    "h": 114.1
  },
  "luminance": 0.06533
}

Semantic roles & 50–950 ramp

primary
#474C0B
secondary
#322B88
accent
#36F145
background
#F7F7F4
surface
#EEEEE7
border
#C9C9C3
text
#0A0902
muted
#7C7B78

Preview Lab

Preview with #474C0B

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

Preview Lab → · Contrast checker → · Palette generator →

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