#476A21#476A21

#476A21 is a mid, moderate yellow-green. Relative luminance 0.118; OKLCH L 48.1% C 0.109 H 131.3°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#476A21
RGBrgb(71, 106, 33)
HSLhsl(89, 53%, 27%)
HSVhsv(89, 69%, 42%)
CMYKcmyk(33%, 0%, 68.9%, 58.4%)
CIE-LABlab(40.83, -25.58, 35.72)
CIE-LCHlch(40.83, 43.93, 125.61°)
OKLaboklab(48.12% -0.072 0.0818)
OKLCHoklch(48.12% 0.109 131.3)
XYZxyz(8.0270, 11.7572, 3.2850)
Luminance0.1176 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476A21 #44216A
analogous
#6A6921 #476A21 #236A21
triadic
#476A21 #21476A #6A2147
tetradic
#476A21 #216A69 #44216A #6A2123
square
#476A21 #216A69 #44216A #6A2123
split-complementary
#476A21 #21236A #69216A
monochromatic
#101707 #283B12 #476A21 #669930 #85C441

Accessibility & contrast

On white

6.27
#476A21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#476A21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476A21
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476A21#FFFFFF#000000##FFFFFF
##476A211.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6217
Deuteranopia (green-blind)
#6A5F27
Tritanopia (blue-blind)
#48655B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #476a21;
/* rgb */ color: rgb(71, 106, 33);
/* oklch */ color: oklch(48.1% 0.109 131.3);
Tailwind
colors: {
  custom: {
    50: '#7d9560',
    500: '#476a21',
    950: '#000000',
  },
}
SCSS
$custom: #476a21;
$custom-light: #7d9560;
$custom-dark: #000000;
JSON
{
  "hex": "#476a21",
  "rgb": {
    "r": 71,
    "g": 106,
    "b": 33
  },
  "hsl": {
    "h": 88.767,
    "s": 52.518,
    "l": 27.255
  },
  "oklch": {
    "l": 0.48122,
    "c": 0.10895,
    "h": 131.3
  },
  "luminance": 0.11757
}

Semantic roles & 50–950 ramp

primary
#476A21
secondary
#72499E
accent
#4CDC91
background
#F7F9F5
surface
#EEF1EA
border
#C9CBC6
text
#0A0D05
muted
#7C7E79

Preview Lab

Preview with #476A21

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

Preview Lab → · Contrast checker → · Palette generator →

#476A21 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva