#474112#474112

#474112 is a dark, moderate yellow. Relative luminance 0.052; OKLCH L 37.1% C 0.065 H 102.0°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#474112
RGBrgb(71, 65, 18)
HSLhsl(53, 60%, 17%)
HSVhsv(53, 75%, 28%)
CMYKcmyk(0%, 8.5%, 74.6%, 72.2%)
CIE-LABlab(27.20, -4.01, 28.46)
CIE-LCHlch(27.20, 28.74, 98.02°)
OKLaboklab(37.1% -0.0136 0.0641)
OKLCHoklch(37.1% 0.065 102)
XYZxyz(4.5982, 5.1641, 1.3267)
Luminance0.0516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474112 #121847
analogous
#472712 #474112 #324712
triadic
#474112 #124741 #411247
tetradic
#474112 #124727 #121847 #471232
square
#474112 #124727 #121847 #471232
split-complementary
#474112 #123247 #271247
monochromatic
#181606 #181606 #474112 #786E1E #A99A2B

Accessibility & contrast

On white

10.33
#474112 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#474112 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474112
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474112#FFFFFF#000000##FFFFFF
##4741121.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F0C
Deuteranopia (green-blind)
#494115
Tritanopia (blue-blind)
#4D3C37
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #474112;
/* rgb */ color: rgb(71, 65, 18);
/* oklch */ color: oklch(37.1% 0.065 102.0);
Tailwind
colors: {
  custom: {
    50: '#7c7553',
    500: '#474112',
    950: '#000000',
  },
}
SCSS
$custom: #474112;
$custom-light: #7c7553;
$custom-dark: #000000;
JSON
{
  "hex": "#474112",
  "rgb": {
    "r": 71,
    "g": 65,
    "b": 18
  },
  "hsl": {
    "h": 53.208,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37102,
    "c": 0.06548,
    "h": 102
  },
  "luminance": 0.05164
}

Semantic roles & 50–950 ramp

primary
#474112
secondary
#353D80
accent
#57E345
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#0A0802
muted
#7C7B78

Preview Lab

Preview with #474112

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

Preview Lab → · Contrast checker → · Palette generator →

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