#474312#474312

#474312 is a dark, moderate yellow. Relative luminance 0.054; OKLCH L 37.6% C 0.068 H 104.6°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#474312
RGBrgb(71, 67, 18)
HSLhsl(55, 60%, 17%)
HSVhsv(55, 75%, 28%)
CMYKcmyk(0%, 5.6%, 74.6%, 72.2%)
CIE-LABlab(27.84, -5.24, 29.12)
CIE-LCHlch(27.84, 29.58, 100.21°)
OKLaboklab(37.61% -0.0171 0.0654)
OKLCHoklch(37.61% 0.068 104.6)
XYZxyz(4.7151, 5.3978, 1.3657)
Luminance0.0540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474312 #121647
analogous
#472912 #474312 #304712
triadic
#474312 #124743 #431247
tetradic
#474312 #124729 #121647 #471230
square
#474312 #124729 #121647 #471230
split-complementary
#474312 #123047 #291247
monochromatic
#181706 #181706 #474312 #78711E #A99F2B

Accessibility & contrast

On white

10.10
#474312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#474312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474312
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474312#FFFFFF#000000##FFFFFF
##4743121.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49400B
Deuteranopia (green-blind)
#4B4315
Tritanopia (blue-blind)
#4D3E39
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #474312;
/* rgb */ color: rgb(71, 67, 18);
/* oklch */ color: oklch(37.6% 0.068 104.6);
Tailwind
colors: {
  custom: {
    50: '#7c7653',
    500: '#474312',
    950: '#000000',
  },
}
SCSS
$custom: #474312;
$custom-light: #7c7653;
$custom-dark: #000000;
JSON
{
  "hex": "#474312",
  "rgb": {
    "r": 71,
    "g": 67,
    "b": 18
  },
  "hsl": {
    "h": 55.472,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37612,
    "c": 0.06765,
    "h": 104.6
  },
  "luminance": 0.05398
}

Semantic roles & 50–950 ramp

primary
#474312
secondary
#353A80
accent
#51E345
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#0A0802
muted
#7C7B78

Preview Lab

Preview with #474312

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

Preview Lab → · Contrast checker → · Palette generator →

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