#477222#477222

#477222 is a mid, moderate yellow-green. Relative luminance 0.135; OKLCH L 50.3% C 0.120 H 133.4°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#477222
RGBrgb(71, 114, 34)
HSLhsl(92, 54%, 29%)
HSVhsv(92, 70%, 45%)
CMYKcmyk(37.7%, 0%, 70.2%, 55.3%)
CIE-LABlab(43.49, -29.34, 38.10)
CIE-LCHlch(43.49, 48.09, 127.60°)
OKLaboklab(50.3% -0.0821 0.087)
OKLCHoklch(50.3% 0.12 133.4)
XYZxyz(8.9044, 13.4893, 3.6476)
Luminance0.1349 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477222 #4D2272
analogous
#6F7222 #477222 #227225
triadic
#477222 #224772 #722247
tetradic
#477222 #226F72 #4D2272 #722522
square
#477222 #226F72 #4D2272 #722522
split-complementary
#477222 #252272 #72226F
monochromatic
#0F1807 #2A4314 #477222 #64A130 #82C846

Accessibility & contrast

On white

5.68
#477222 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#477222 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477222
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477222#FFFFFF#000000##FFFFFF
##4772221.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776917
Deuteranopia (green-blind)
#716629
Tritanopia (blue-blind)
#476D62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #477222;
/* rgb */ color: rgb(71, 114, 34);
/* oklch */ color: oklch(50.3% 0.120 133.4);
Tailwind
colors: {
  custom: {
    50: '#7e9b62',
    500: '#477222',
    950: '#000000',
  },
}
SCSS
$custom: #477222;
$custom-light: #7e9b62;
$custom-dark: #000000;
JSON
{
  "hex": "#477222",
  "rgb": {
    "r": 71,
    "g": 114,
    "b": 34
  },
  "hsl": {
    "h": 92.25,
    "s": 54.054,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50295,
    "c": 0.11963,
    "h": 133.4
  },
  "luminance": 0.1349
}

Semantic roles & 50–950 ramp

primary
#477222
secondary
#7B4BA5
accent
#4ADD99
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #477222

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

Preview Lab → · Contrast checker → · Palette generator →

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