#477117#477117

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

Color values

HEX#477117
RGBrgb(71, 113, 23)
HSLhsl(88, 66%, 27%)
HSVhsv(88, 80%, 44%)
CMYKcmyk(37.2%, 0%, 79.6%, 55.7%)
CIE-LABlab(43.08, -29.68, 42.10)
CIE-LCHlch(43.08, 51.52, 125.18°)
OKLaboklab(49.93% -0.084 0.0936)
OKLCHoklch(49.93% 0.126 131.9)
XYZxyz(8.6582, 13.2114, 2.9043)
Luminance0.1321 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477117 #411771
analogous
#716E17 #477117 #1A7117
triadic
#477117 #174771 #711747
tetradic
#477117 #17716E #411771 #71171A
square
#477117 #17716E #411771 #71171A
split-complementary
#477117 #171A71 #6E1771
monochromatic
#101905 #273E0D #477117 #67A421 #87D42E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##477117#FFFFFF#000000##FFFFFF
##4771171.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)
#766803
Deuteranopia (green-blind)
#706520
Tritanopia (blue-blind)
#486C60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #477117;
/* rgb */ color: rgb(71, 113, 23);
/* oklch */ color: oklch(49.9% 0.126 131.9);
Tailwind
colors: {
  custom: {
    50: '#7e9a5c',
    500: '#477117',
    950: '#000000',
  },
}
SCSS
$custom: #477117;
$custom-light: #7e9a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#477117",
  "rgb": {
    "r": 71,
    "g": 113,
    "b": 23
  },
  "hsl": {
    "h": 88,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49934,
    "c": 0.12577,
    "h": 131.9
  },
  "luminance": 0.13212
}

Semantic roles & 50–950 ramp

primary
#477117
secondary
#6E3DA7
accent
#3FE98E
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #477117

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

Preview Lab → · Contrast checker → · Palette generator →

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