#477126#477126

#477126 is a mid, moderate yellow-green. Relative luminance 0.133; OKLCH L 50.1% C 0.115 H 133.8°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#477126
RGBrgb(71, 113, 38)
HSLhsl(94, 50%, 30%)
HSVhsv(94, 66%, 44%)
CMYKcmyk(37.2%, 0%, 66.4%, 55.7%)
CIE-LABlab(43.20, -28.50, 35.96)
CIE-LCHlch(43.20, 45.88, 128.41°)
OKLaboklab(50.07% -0.0795 0.083)
OKLCHoklch(50.07% 0.115 133.8)
XYZxyz(8.8534, 13.2894, 3.9320)
Luminance0.1329 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477126 #502671
analogous
#6D7126 #477126 #26712B
triadic
#477126 #264771 #712647
tetradic
#477126 #266D71 #502671 #712B26
square
#477126 #266D71 #502671 #712B26
split-complementary
#477126 #2B2671 #71266D
monochromatic
#0E1708 #2A4317 #477126 #649F35 #82C34E

Accessibility & contrast

On white

5.74
#477126 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#477126 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477126
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477126#FFFFFF#000000##FFFFFF
##4771261.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75681D
Deuteranopia (green-blind)
#70652C
Tritanopia (blue-blind)
#476D61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #477126;
/* rgb */ color: rgb(71, 113, 38);
/* oklch */ color: oklch(50.1% 0.115 133.8);
Tailwind
colors: {
  custom: {
    50: '#7d9a64',
    500: '#477126',
    950: '#000000',
  },
}
SCSS
$custom: #477126;
$custom-light: #7d9a64;
$custom-dark: #000000;
JSON
{
  "hex": "#477126",
  "rgb": {
    "r": 71,
    "g": 113,
    "b": 38
  },
  "hsl": {
    "h": 93.6,
    "s": 49.669,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50066,
    "c": 0.11493,
    "h": 133.8
  },
  "luminance": 0.1329
}

Semantic roles & 50–950 ramp

primary
#477126
secondary
#7E4FA4
accent
#4FD99C
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E05
muted
#7C7E7A

Preview Lab

Preview with #477126

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

Preview Lab → · Contrast checker → · Palette generator →

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