#476A22#476A22

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

Color values

HEX#476A22
RGBrgb(71, 106, 34)
HSLhsl(89, 51%, 27%)
HSVhsv(89, 68%, 42%)
CMYKcmyk(33%, 0%, 67.9%, 58.4%)
CIE-LABlab(40.84, -25.49, 35.26)
CIE-LCHlch(40.84, 43.51, 125.86°)
OKLaboklab(48.13% -0.0716 0.081)
OKLCHoklch(48.13% 0.108 131.5)
XYZxyz(8.0412, 11.7629, 3.3599)
Luminance0.1176 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476A22 #45226A
analogous
#6A6922 #476A22 #236A22
triadic
#476A22 #22476A #6A2247
tetradic
#476A22 #226A69 #45226A #6A2223
square
#476A22 #226A69 #45226A #6A2223
split-complementary
#476A22 #22236A #69226A
monochromatic
#101707 #283C13 #476A22 #669831 #85C344

Accessibility & contrast

On white

6.26
#476A22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #476A22
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476A22#FFFFFF#000000##FFFFFF
##476A221.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6219
Deuteranopia (green-blind)
#6A5F28
Tritanopia (blue-blind)
#48665B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #476a22;
/* rgb */ color: rgb(71, 106, 34);
/* oklch */ color: oklch(48.1% 0.108 131.5);
Tailwind
colors: {
  custom: {
    50: '#7d9561',
    500: '#476a22',
    950: '#000000',
  },
}
SCSS
$custom: #476a22;
$custom-light: #7d9561;
$custom-dark: #000000;
JSON
{
  "hex": "#476a22",
  "rgb": {
    "r": 71,
    "g": 106,
    "b": 34
  },
  "hsl": {
    "h": 89.167,
    "s": 51.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.48132,
    "c": 0.10811,
    "h": 131.5
  },
  "luminance": 0.11763
}

Semantic roles & 50–950 ramp

primary
#476A22
secondary
#734A9E
accent
#4DDB92
background
#F7F9F5
surface
#EEF1EA
border
#C9CBC6
text
#0A0D05
muted
#7C7E79

Preview Lab

Preview with #476A22

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

Preview Lab → · Contrast checker → · Palette generator →

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