#477C22#477C22

#477C22 is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 53.0% C 0.133 H 135.1°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#477C22
RGBrgb(71, 124, 34)
HSLhsl(95, 57%, 31%)
HSVhsv(95, 73%, 49%)
CMYKcmyk(42.7%, 0%, 72.6%, 51.4%)
CIE-LABlab(46.80, -33.92, 41.55)
CIE-LCHlch(46.80, 53.64, 129.22°)
OKLaboklab(53% -0.0946 0.0942)
OKLCHoklch(53% 0.133 135.1)
XYZxyz(10.0947, 15.8698, 4.0443)
Luminance0.1587 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477C22 #57227C
analogous
#747C22 #477C22 #227C2A
triadic
#477C22 #22477C #7C2247
tetradic
#477C22 #22747C #57227C #7C2A22
square
#477C22 #22747C #57227C #7C2A22
split-complementary
#477C22 #2A227C #7C2274
monochromatic
#101C08 #2B4C15 #477C22 #63AC2F #81CE4B

Accessibility & contrast

On white

5.03
#477C22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#477C22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477C22
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477C22#FFFFFF#000000##FFFFFF
##477C221.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817214
Deuteranopia (green-blind)
#7A6D2A
Tritanopia (blue-blind)
#46776A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #477c22;
/* rgb */ color: rgb(71, 124, 34);
/* oklch */ color: oklch(53.0% 0.133 135.1);
Tailwind
colors: {
  custom: {
    50: '#7fa263',
    500: '#477c22',
    950: '#000000',
  },
}
SCSS
$custom: #477c22;
$custom-light: #7fa263;
$custom-dark: #000000;
JSON
{
  "hex": "#477c22",
  "rgb": {
    "r": 71,
    "g": 124,
    "b": 34
  },
  "hsl": {
    "h": 95.333,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53003,
    "c": 0.13349,
    "h": 135.1
  },
  "luminance": 0.1587
}

Semantic roles & 50–950 ramp

primary
#477C22
secondary
#864BAF
accent
#48E0A1
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0A0F05
muted
#7C7F7A

Preview Lab

Preview with #477C22

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

Preview Lab → · Contrast checker → · Palette generator →

#477C22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva