#477226#477226

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

Color values

HEX#477226
RGBrgb(71, 114, 38)
HSLhsl(94, 50%, 30%)
HSVhsv(94, 67%, 45%)
CMYKcmyk(37.7%, 0%, 66.7%, 55.3%)
CIE-LABlab(43.53, -28.98, 36.32)
CIE-LCHlch(43.53, 46.46, 128.59°)
OKLaboklab(50.34% -0.0808 0.0837)
OKLCHoklch(50.34% 0.116 134)
XYZxyz(8.9655, 13.5138, 3.9694)
Luminance0.1351 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477226 #512672
analogous
#6D7226 #477226 #26722B
triadic
#477226 #264772 #722647
tetradic
#477226 #266D72 #512672 #722B26
square
#477226 #266D72 #512672 #722B26
split-complementary
#477226 #2B2672 #72266D
monochromatic
#0E1708 #2A4417 #477226 #64A035 #81C44E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##477226#FFFFFF#000000##FFFFFF
##4772261.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76691D
Deuteranopia (green-blind)
#70662C
Tritanopia (blue-blind)
#476E62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #477226;
/* rgb */ color: rgb(71, 114, 38);
/* oklch */ color: oklch(50.3% 0.116 134.0);
Tailwind
colors: {
  custom: {
    50: '#7e9b64',
    500: '#477226',
    950: '#000000',
  },
}
SCSS
$custom: #477226;
$custom-light: #7e9b64;
$custom-dark: #000000;
JSON
{
  "hex": "#477226",
  "rgb": {
    "r": 71,
    "g": 114,
    "b": 38
  },
  "hsl": {
    "h": 93.947,
    "s": 50,
    "l": 29.804
  },
  "oklch": {
    "l": 0.50336,
    "c": 0.11638,
    "h": 134
  },
  "luminance": 0.13514
}

Semantic roles & 50–950 ramp

primary
#477226
secondary
#804FA5
accent
#4EDA9D
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #477226

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

Preview Lab → · Contrast checker → · Palette generator →

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