#474005#474005

#474005 is a dark, moderate yellow. Relative luminance 0.050; OKLCH L 36.7% C 0.074 H 102.0°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#474005
RGBrgb(71, 64, 5)
HSLhsl(54, 87%, 15%)
HSVhsv(54, 93%, 28%)
CMYKcmyk(0%, 9.9%, 93%, 72.2%)
CIE-LABlab(26.78, -4.08, 33.64)
CIE-LCHlch(26.78, 33.88, 96.92°)
OKLaboklab(36.74% -0.0153 0.0721)
OKLCHoklch(36.74% 0.074 102)
XYZxyz(4.4595, 5.0176, 0.8771)
Luminance0.0502 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474005 #050C47
analogous
#471F05 #474005 #2D4705
triadic
#474005 #054740 #400547
tetradic
#474005 #05471F #050C47 #47052D
square
#474005 #05471F #050C47 #47052D
split-complementary
#474005 #052D47 #1F0547
monochromatic
#1D1A02 #1D1A02 #474005 #807409 #B9A70D

Accessibility & contrast

On white

10.48
#474005 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#474005 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474005
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474005#FFFFFF#000000##FFFFFF
##4740051.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E00
Deuteranopia (green-blind)
#49410A
Tritanopia (blue-blind)
#4D3A35
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #474005;
/* rgb */ color: rgb(71, 64, 5);
/* oklch */ color: oklch(36.7% 0.074 102.0);
Tailwind
colors: {
  custom: {
    50: '#7d744c',
    500: '#474005',
    950: '#000000',
  },
}
SCSS
$custom: #474005;
$custom-light: #7d744c;
$custom-dark: #000000;
JSON
{
  "hex": "#474005",
  "rgb": {
    "r": 71,
    "g": 64,
    "b": 5
  },
  "hsl": {
    "h": 53.636,
    "s": 86.842,
    "l": 14.902
  },
  "oklch": {
    "l": 0.36745,
    "c": 0.07369,
    "h": 102
  },
  "luminance": 0.05017
}

Semantic roles & 50–950 ramp

primary
#474005
secondary
#212C87
accent
#41FD2B
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#0A0801
muted
#7C7B77

Preview Lab

Preview with #474005

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

Preview Lab → · Contrast checker → · Palette generator →

#474005 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva