#474B0F#474B0F

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

Color values

HEX#474B0F
RGBrgb(71, 75, 15)
HSLhsl(64, 67%, 18%)
HSVhsv(64, 80%, 29%)
CMYKcmyk(5.3%, 0%, 80%, 70.6%)
CIE-LABlab(30.42, -10.24, 33.01)
CIE-LCHlch(30.42, 34.56, 107.24°)
OKLaboklab(39.66% -0.0315 0.0731)
OKLCHoklch(39.66% 0.08 113.3)
XYZxyz(5.2010, 6.4063, 1.4144)
Luminance0.0641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474B0F #130F4B
analogous
#4B310F #474B0F #294B0F
triadic
#474B0F #0F474B #4B0F47
tetradic
#474B0F #0F4B31 #130F4B #4B0F29
square
#474B0F #0F4B31 #130F4B #4B0F29
split-complementary
#474B0F #0F294B #310F4B
monochromatic
#181A05 #181A05 #474B0F #777E19 #A8B123

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##474B0F#FFFFFF#000000##FFFFFF
##474B0F1.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)
#514705
Deuteranopia (green-blind)
#514814
Tritanopia (blue-blind)
#4C463F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #474b0f;
/* rgb */ color: rgb(71, 75, 15);
/* oklch */ color: oklch(39.7% 0.080 113.3);
Tailwind
colors: {
  custom: {
    50: '#7c7d52',
    500: '#474b0f',
    950: '#000000',
  },
}
SCSS
$custom: #474b0f;
$custom-light: #7c7d52;
$custom-dark: #000000;
JSON
{
  "hex": "#474b0f",
  "rgb": {
    "r": 71,
    "g": 75,
    "b": 15
  },
  "hsl": {
    "h": 64,
    "s": 66.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.39662,
    "c": 0.07955,
    "h": 113.3
  },
  "luminance": 0.06406
}

Semantic roles & 50–950 ramp

primary
#474B0F
secondary
#363085
accent
#3EEA4A
background
#F7F7F4
surface
#EEEEE7
border
#C9C9C3
text
#0A0902
muted
#7C7B78

Preview Lab

Preview with #474B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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