#475421#475421

#475421 is a dark, moderate yellow-green. Relative luminance 0.078; OKLCH L 42.2% C 0.076 H 121.7°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#475421
RGBrgb(71, 84, 33)
HSLhsl(75, 44%, 23%)
HSVhsv(75, 61%, 33%)
CMYKcmyk(15.5%, 0%, 60.7%, 67.1%)
CIE-LABlab(33.54, -13.98, 27.65)
CIE-LCHlch(33.54, 30.98, 116.82°)
OKLaboklab(42.23% -0.0399 0.0646)
OKLCHoklch(42.23% 0.076 121.7)
XYZxyz(6.0434, 7.7900, 2.6238)
Luminance0.0779 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475421 #2E2154
analogous
#544721 #475421 #2D5421
triadic
#475421 #214754 #542147
tetradic
#475421 #215447 #2E2154 #54212D
square
#475421 #215447 #2E2154 #54212D
split-complementary
#475421 #212D54 #472154
monochromatic
#131609 #222810 #475421 #6C8032 #91AC44

Accessibility & contrast

On white

8.21
#475421 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#475421 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475421
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475421#FFFFFF#000000##FFFFFF
##4754211.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F1C
Deuteranopia (green-blind)
#574F24
Tritanopia (blue-blind)
#4B5049
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #475421;
/* rgb */ color: rgb(71, 84, 33);
/* oklch */ color: oklch(42.2% 0.076 121.7);
Tailwind
colors: {
  custom: {
    50: '#7c845e',
    500: '#475421',
    950: '#000000',
  },
}
SCSS
$custom: #475421;
$custom-light: #7c845e;
$custom-dark: #000000;
JSON
{
  "hex": "#475421",
  "rgb": {
    "r": 71,
    "g": 84,
    "b": 33
  },
  "hsl": {
    "h": 75.294,
    "s": 43.59,
    "l": 22.941
  },
  "oklch": {
    "l": 0.42226,
    "c": 0.07594,
    "h": 121.7
  },
  "luminance": 0.0779
}

Semantic roles & 50–950 ramp

primary
#475421
secondary
#594988
accent
#54D375
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#090A04
muted
#7B7C79

Preview Lab

Preview with #475421

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

Preview Lab → · Contrast checker → · Palette generator →

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