#477223#477223

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

Color values

HEX#477223
RGBrgb(71, 114, 35)
HSLhsl(93, 53%, 29%)
HSVhsv(93, 69%, 45%)
CMYKcmyk(37.7%, 0%, 69.3%, 55.3%)
CIE-LABlab(43.50, -29.25, 37.66)
CIE-LCHlch(43.50, 47.69, 127.84°)
OKLaboklab(50.31% -0.0818 0.0862)
OKLCHoklch(50.31% 0.119 133.5)
XYZxyz(8.9191, 13.4952, 3.7247)
Luminance0.1350 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477223 #4E2372
analogous
#6F7223 #477223 #237227
triadic
#477223 #234772 #722347
tetradic
#477223 #236F72 #4E2372 #722723
square
#477223 #236F72 #4E2372 #722723
split-complementary
#477223 #272372 #72236F
monochromatic
#0F1707 #2A4315 #477223 #64A131 #82C748

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##477223#FFFFFF#000000##FFFFFF
##4772231.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)
#776918
Deuteranopia (green-blind)
#71662A
Tritanopia (blue-blind)
#476D62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #477223;
/* rgb */ color: rgb(71, 114, 35);
/* oklch */ color: oklch(50.3% 0.119 133.5);
Tailwind
colors: {
  custom: {
    50: '#7e9b62',
    500: '#477223',
    950: '#000000',
  },
}
SCSS
$custom: #477223;
$custom-light: #7e9b62;
$custom-dark: #000000;
JSON
{
  "hex": "#477223",
  "rgb": {
    "r": 71,
    "g": 114,
    "b": 35
  },
  "hsl": {
    "h": 92.658,
    "s": 53.02,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50305,
    "c": 0.11884,
    "h": 133.5
  },
  "luminance": 0.13496
}

Semantic roles & 50–950 ramp

primary
#477223
secondary
#7C4CA5
accent
#4BDC9A
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E05
muted
#7C7E7A

Preview Lab

Preview with #477223

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

Preview Lab → · Contrast checker → · Palette generator →

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