#475112#475112

#475112 is a dark, moderate yellow. Relative luminance 0.073; OKLCH L 41.3% C 0.085 H 118.2°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#475112
RGBrgb(71, 81, 18)
HSLhsl(70, 64%, 19%)
HSVhsv(70, 78%, 32%)
CMYKcmyk(12.3%, 0%, 77.8%, 68.2%)
CIE-LABlab(32.41, -13.52, 33.70)
CIE-LCHlch(32.41, 36.31, 111.86°)
OKLaboklab(41.27% -0.0403 0.0751)
OKLCHoklch(41.27% 0.085 118.2)
XYZxyz(5.6503, 7.2682, 1.6774)
Luminance0.0727 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475112 #1C1251
analogous
#513C12 #475112 #285112
triadic
#475112 #124751 #511247
tetradic
#475112 #12513C #1C1251 #511228
square
#475112 #12513C #1C1251 #511228
split-complementary
#475112 #122851 #3C1251
monochromatic
#161906 #1B1F07 #475112 #73831D #9FB528

Accessibility & contrast

On white

8.56
#475112 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#475112 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475112
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475112#FFFFFF#000000##FFFFFF
##4751121.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C07
Deuteranopia (green-blind)
#564D17
Tritanopia (blue-blind)
#4C4C45
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #475112;
/* rgb */ color: rgb(71, 81, 18);
/* oklch */ color: oklch(41.3% 0.085 118.2);
Tailwind
colors: {
  custom: {
    50: '#7c8155',
    500: '#475112',
    950: '#000000',
  },
}
SCSS
$custom: #475112;
$custom-light: #7c8155;
$custom-dark: #000000;
JSON
{
  "hex": "#475112",
  "rgb": {
    "r": 71,
    "g": 81,
    "b": 18
  },
  "hsl": {
    "h": 69.524,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.4127,
    "c": 0.08522,
    "h": 118.2
  },
  "luminance": 0.07268
}

Semantic roles & 50–950 ramp

primary
#475112
secondary
#42358A
accent
#41E75B
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #475112

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

Preview Lab → · Contrast checker → · Palette generator →

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