#477115#477115

#477115 is a mid, vivid yellow-green. Relative luminance 0.132; OKLCH L 49.9% C 0.127 H 131.7°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#477115
RGBrgb(71, 113, 21)
HSLhsl(87, 69%, 26%)
HSVhsv(87, 81%, 44%)
CMYKcmyk(37.2%, 0%, 81.4%, 55.7%)
CIE-LABlab(43.07, -29.80, 42.79)
CIE-LCHlch(43.07, 52.14, 124.85°)
OKLaboklab(49.92% -0.0844 0.0947)
OKLCHoklch(49.92% 0.127 131.7)
XYZxyz(8.6389, 13.2036, 2.8027)
Luminance0.1320 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477115 #3F1571
analogous
#716D15 #477115 #197115
triadic
#477115 #154771 #711547
tetradic
#477115 #15716D #3F1571 #711519
square
#477115 #15716D #3F1571 #711519
split-complementary
#477115 #151971 #6D1571
monochromatic
#101A05 #273D0B #477115 #67A51F #88D729

Accessibility & contrast

On white

5.77
#477115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#477115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477115
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477115#FFFFFF#000000##FFFFFF
##4771151.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#70651F
Tritanopia (blue-blind)
#486C60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #477115;
/* rgb */ color: rgb(71, 113, 21);
/* oklch */ color: oklch(49.9% 0.127 131.7);
Tailwind
colors: {
  custom: {
    50: '#7e9a5b',
    500: '#477115',
    950: '#000000',
  },
}
SCSS
$custom: #477115;
$custom-light: #7e9a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#477115",
  "rgb": {
    "r": 71,
    "g": 113,
    "b": 21
  },
  "hsl": {
    "h": 87.391,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49921,
    "c": 0.1269,
    "h": 131.7
  },
  "luminance": 0.13204
}

Semantic roles & 50–950 ramp

primary
#477115
secondary
#6C3BA7
accent
#3CEB8C
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #477115

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

Preview Lab → · Contrast checker → · Palette generator →

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