#475211#475211

#475211 is a dark, moderate yellow-green. Relative luminance 0.074; OKLCH L 41.5% C 0.087 H 118.8°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#475211
RGBrgb(71, 82, 17)
HSLhsl(70, 66%, 19%)
HSVhsv(70, 79%, 32%)
CMYKcmyk(13.4%, 0%, 79.3%, 67.8%)
CIE-LABlab(32.73, -14.15, 34.43)
CIE-LCHlch(32.73, 37.22, 112.34°)
OKLaboklab(41.53% -0.0421 0.0764)
OKLCHoklch(41.53% 0.087 118.8)
XYZxyz(5.7171, 7.4147, 1.6602)
Luminance0.0741 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475211 #1C1152
analogous
#523D11 #475211 #275211
triadic
#475211 #114752 #521147
tetradic
#475211 #11523D #1C1152 #521127
square
#475211 #11523D #1C1152 #521127
split-complementary
#475211 #112752 #3D1152
monochromatic
#161905 #1B1F06 #475211 #73851C #9FB726

Accessibility & contrast

On white

8.46
#475211 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#475211 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475211
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475211#FFFFFF#000000##FFFFFF
##4752111.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D05
Deuteranopia (green-blind)
#574D17
Tritanopia (blue-blind)
#4C4D45
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #475211;
/* rgb */ color: rgb(71, 82, 17);
/* oklch */ color: oklch(41.5% 0.087 118.8);
Tailwind
colors: {
  custom: {
    50: '#7d8254',
    500: '#475211',
    950: '#000000',
  },
}
SCSS
$custom: #475211;
$custom-light: #7d8254;
$custom-dark: #000000;
JSON
{
  "hex": "#475211",
  "rgb": {
    "r": 71,
    "g": 82,
    "b": 17
  },
  "hsl": {
    "h": 70.154,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.41527,
    "c": 0.08727,
    "h": 118.8
  },
  "luminance": 0.07415
}

Semantic roles & 50–950 ramp

primary
#475211
secondary
#42348B
accent
#3FE95C
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #475211

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

Preview Lab → · Contrast checker → · Palette generator →

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