#474C0F#474C0F

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

Color values

HEX#474C0F
RGBrgb(71, 76, 15)
HSLhsl(65, 67%, 18%)
HSVhsv(65, 80%, 30%)
CMYKcmyk(6.6%, 0%, 80.3%, 70.2%)
CIE-LABlab(30.74, -10.83, 33.33)
CIE-LCHlch(30.74, 35.04, 108.00°)
OKLaboklab(39.92% -0.0331 0.0737)
OKLCHoklch(39.92% 0.081 114.2)
XYZxyz(5.2694, 6.5431, 1.4372)
Luminance0.0654 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474C0F #140F4C
analogous
#4C320F #474C0F #284C0F
triadic
#474C0F #0F474C #4C0F47
tetradic
#474C0F #0F4C32 #140F4C #4C0F28
square
#474C0F #0F4C32 #140F4C #4C0F28
split-complementary
#474C0F #0F284C #320F4C
monochromatic
#181A05 #181A05 #474C0F #777F19 #A6B223

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##474C0F#FFFFFF#000000##FFFFFF
##474C0F1.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)
#524804
Deuteranopia (green-blind)
#524914
Tritanopia (blue-blind)
#4C4740
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #474c0f;
/* rgb */ color: rgb(71, 76, 15);
/* oklch */ color: oklch(39.9% 0.081 114.2);
Tailwind
colors: {
  custom: {
    50: '#7c7d53',
    500: '#474c0f',
    950: '#000000',
  },
}
SCSS
$custom: #474c0f;
$custom-light: #7c7d53;
$custom-dark: #000000;
JSON
{
  "hex": "#474c0f",
  "rgb": {
    "r": 71,
    "g": 76,
    "b": 15
  },
  "hsl": {
    "h": 64.918,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.39925,
    "c": 0.08081,
    "h": 114.2
  },
  "luminance": 0.06543
}

Semantic roles & 50–950 ramp

primary
#474C0F
secondary
#383186
accent
#3EEA4C
background
#F7F7F4
surface
#EEEEE7
border
#C9C9C3
text
#0A0902
muted
#7C7B78

Preview Lab

Preview with #474C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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