#477122#477122

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

Color values

HEX#477122
RGBrgb(71, 113, 34)
HSLhsl(92, 54%, 29%)
HSVhsv(92, 70%, 44%)
CMYKcmyk(37.2%, 0%, 69.9%, 55.7%)
CIE-LABlab(43.16, -28.87, 37.75)
CIE-LCHlch(43.16, 47.52, 127.41°)
OKLaboklab(50.03% -0.0809 0.0862)
OKLCHoklch(50.03% 0.118 133.2)
XYZxyz(8.7923, 13.2650, 3.6102)
Luminance0.1326 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477122 #4C2271
analogous
#6F7122 #477122 #227125
triadic
#477122 #224771 #712247
tetradic
#477122 #226F71 #4C2271 #712522
square
#477122 #226F71 #4C2271 #712522
split-complementary
#477122 #252271 #71226F
monochromatic
#0F1807 #294214 #477122 #65A030 #83C746

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##477122#FFFFFF#000000##FFFFFF
##4771221.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)
#766817
Deuteranopia (green-blind)
#706529
Tritanopia (blue-blind)
#476C61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #477122;
/* rgb */ color: rgb(71, 113, 34);
/* oklch */ color: oklch(50.0% 0.118 133.2);
Tailwind
colors: {
  custom: {
    50: '#7e9a62',
    500: '#477122',
    950: '#000000',
  },
}
SCSS
$custom: #477122;
$custom-light: #7e9a62;
$custom-dark: #000000;
JSON
{
  "hex": "#477122",
  "rgb": {
    "r": 71,
    "g": 113,
    "b": 34
  },
  "hsl": {
    "h": 91.899,
    "s": 53.741,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50025,
    "c": 0.1182,
    "h": 133.2
  },
  "luminance": 0.13265
}

Semantic roles & 50–950 ramp

primary
#477122
secondary
#7A4AA4
accent
#4BDD99
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #477122

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

Preview Lab → · Contrast checker → · Palette generator →

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