#477922#477922

#477922 is a mid, vivid yellow-green. Relative luminance 0.151; OKLCH L 52.2% C 0.129 H 134.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#477922
RGBrgb(71, 121, 34)
HSLhsl(94, 56%, 30%)
HSVhsv(94, 72%, 47%)
CMYKcmyk(41.3%, 0%, 71.9%, 52.5%)
CIE-LABlab(45.81, -32.57, 40.53)
CIE-LCHlch(45.81, 51.99, 128.79°)
OKLaboklab(52.19% -0.0909 0.0921)
OKLCHoklch(52.19% 0.129 134.7)
XYZxyz(9.7244, 15.1293, 3.9209)
Luminance0.1513 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477922 #542279
analogous
#727922 #477922 #227929
triadic
#477922 #224779 #792247
tetradic
#477922 #227279 #542279 #792922
square
#477922 #227279 #542279 #792922
split-complementary
#477922 #292279 #792272
monochromatic
#0F1907 #2B4915 #477922 #63A92F #81CC49

Accessibility & contrast

On white

5.22
#477922 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#477922 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477922
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477922#FFFFFF#000000##FFFFFF
##4779221.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F15
Deuteranopia (green-blind)
#776B2A
Tritanopia (blue-blind)
#467468
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #477922;
/* rgb */ color: rgb(71, 121, 34);
/* oklch */ color: oklch(52.2% 0.129 134.7);
Tailwind
colors: {
  custom: {
    50: '#7fa062',
    500: '#477922',
    950: '#000000',
  },
}
SCSS
$custom: #477922;
$custom-light: #7fa062;
$custom-dark: #000000;
JSON
{
  "hex": "#477922",
  "rgb": {
    "r": 71,
    "g": 121,
    "b": 34
  },
  "hsl": {
    "h": 94.483,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.5219,
    "c": 0.1294,
    "h": 134.7
  },
  "luminance": 0.1513
}

Semantic roles & 50–950 ramp

primary
#477922
secondary
#834BAC
accent
#48DF9F
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0E05
muted
#7C7E7A

Preview Lab

Preview with #477922

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

Preview Lab → · Contrast checker → · Palette generator →

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