#477229#477229

#477229 is a mid, moderate yellow-green. Relative luminance 0.135; OKLCH L 50.4% C 0.114 H 134.5°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#477229
RGBrgb(71, 114, 41)
HSLhsl(95, 47%, 30%)
HSVhsv(95, 64%, 45%)
CMYKcmyk(37.7%, 0%, 64%, 55.3%)
CIE-LABlab(43.56, -28.68, 34.92)
CIE-LCHlch(43.56, 45.19, 129.39°)
OKLaboklab(50.37% -0.0797 0.0812)
OKLCHoklch(50.37% 0.114 134.5)
XYZxyz(9.0159, 13.5339, 4.2347)
Luminance0.1353 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477229 #542972
analogous
#6C7229 #477229 #29722F
triadic
#477229 #294772 #722947
tetradic
#477229 #296C72 #542972 #722F29
square
#477229 #296C72 #542972 #722F29
split-complementary
#477229 #2F2972 #72296C
monochromatic
#0F1809 #2B4519 #477229 #639F39 #81C154

Accessibility & contrast

On white

5.67
#477229 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#477229 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477229
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477229#FFFFFF#000000##FFFFFF
##4772291.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766921
Deuteranopia (green-blind)
#70662F
Tritanopia (blue-blind)
#476E62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #477229;
/* rgb */ color: rgb(71, 114, 41);
/* oklch */ color: oklch(50.4% 0.114 134.5);
Tailwind
colors: {
  custom: {
    50: '#7d9b66',
    500: '#477229',
    950: '#000000',
  },
}
SCSS
$custom: #477229;
$custom-light: #7d9b66;
$custom-dark: #000000;
JSON
{
  "hex": "#477229",
  "rgb": {
    "r": 71,
    "g": 114,
    "b": 41
  },
  "hsl": {
    "h": 95.342,
    "s": 47.097,
    "l": 30.392
  },
  "oklch": {
    "l": 0.5037,
    "c": 0.11378,
    "h": 134.5
  },
  "luminance": 0.13534
}

Semantic roles & 50–950 ramp

primary
#477229
secondary
#8353A4
accent
#51D7A0
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #477229

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

Preview Lab → · Contrast checker → · Palette generator →

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