#477121#477121

#477121 is a mid, moderate yellow-green. Relative luminance 0.133; OKLCH L 50.0% C 0.119 H 133.0°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#477121
RGBrgb(71, 113, 33)
HSLhsl(92, 55%, 29%)
HSVhsv(92, 71%, 44%)
CMYKcmyk(37.2%, 0%, 70.8%, 55.7%)
CIE-LABlab(43.15, -28.96, 38.18)
CIE-LCHlch(43.15, 47.92, 127.18°)
OKLaboklab(50.02% -0.0812 0.087)
OKLCHoklch(50.02% 0.119 133)
XYZxyz(8.7780, 13.2593, 3.5353)
Luminance0.1326 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477121 #4B2171
analogous
#6F7121 #477121 #217123
triadic
#477121 #214771 #712147
tetradic
#477121 #216F71 #4B2171 #712321
square
#477121 #216F71 #4B2171 #712321
split-complementary
#477121 #232171 #71216F
monochromatic
#0F1807 #294213 #477121 #65A02F #83C844

Accessibility & contrast

On white

5.75
#477121 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#477121 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477121
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477121#FFFFFF#000000##FFFFFF
##4771211.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766816
Deuteranopia (green-blind)
#706528
Tritanopia (blue-blind)
#476C61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #477121;
/* rgb */ color: rgb(71, 113, 33);
/* oklch */ color: oklch(50.0% 0.119 133.0);
Tailwind
colors: {
  custom: {
    50: '#7e9a61',
    500: '#477121',
    950: '#000000',
  },
}
SCSS
$custom: #477121;
$custom-light: #7e9a61;
$custom-dark: #000000;
JSON
{
  "hex": "#477121",
  "rgb": {
    "r": 71,
    "g": 113,
    "b": 33
  },
  "hsl": {
    "h": 91.5,
    "s": 54.795,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50015,
    "c": 0.11899,
    "h": 133
  },
  "luminance": 0.1326
}

Semantic roles & 50–950 ramp

primary
#477121
secondary
#7949A5
accent
#4ADE98
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #477121

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

Preview Lab → · Contrast checker → · Palette generator →

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