#477215#477215

#477215 is a mid, vivid yellow-green. Relative luminance 0.134; OKLCH L 50.2% C 0.128 H 131.9°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#477215
RGBrgb(71, 114, 21)
HSLhsl(88, 69%, 26%)
HSVhsv(88, 82%, 45%)
CMYKcmyk(37.7%, 0%, 81.6%, 55.3%)
CIE-LABlab(43.40, -30.26, 43.10)
CIE-LCHlch(43.40, 52.67, 125.07°)
OKLaboklab(50.19% -0.0857 0.0954)
OKLCHoklch(50.19% 0.128 131.9)
XYZxyz(8.7511, 13.4280, 2.8401)
Luminance0.1343 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477215 #401572
analogous
#726F15 #477215 #197215
triadic
#477215 #154772 #721547
tetradic
#477215 #15726F #401572 #721519
square
#477215 #15726F #401572 #721519
split-complementary
#477215 #151972 #6F1572
monochromatic
#101A05 #273E0B #477215 #67A61F #87D82A

Accessibility & contrast

On white

5.70
#477215 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#477215 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477215
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477215#FFFFFF#000000##FFFFFF
##4772151.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776900
Deuteranopia (green-blind)
#71651F
Tritanopia (blue-blind)
#486D61
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #477215;
/* rgb */ color: rgb(71, 114, 21);
/* oklch */ color: oklch(50.2% 0.128 131.9);
Tailwind
colors: {
  custom: {
    50: '#7e9b5b',
    500: '#477215',
    950: '#000000',
  },
}
SCSS
$custom: #477215;
$custom-light: #7e9b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#477215",
  "rgb": {
    "r": 71,
    "g": 114,
    "b": 21
  },
  "hsl": {
    "h": 87.742,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.50193,
    "c": 0.12823,
    "h": 131.9
  },
  "luminance": 0.13428
}

Semantic roles & 50–950 ramp

primary
#477215
secondary
#6D3BA8
accent
#3CEC8D
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #477215

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

Preview Lab → · Contrast checker → · Palette generator →

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