#477016#477016

#477016 is a mid, vivid yellow-green. Relative luminance 0.130; OKLCH L 49.7% C 0.125 H 131.6°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#477016
RGBrgb(71, 112, 22)
HSLhsl(87, 67%, 26%)
HSVhsv(87, 80%, 44%)
CMYKcmyk(36.6%, 0%, 80.4%, 56.1%)
CIE-LABlab(42.74, -29.27, 42.14)
CIE-LCHlch(42.74, 51.31, 124.79°)
OKLaboklab(49.66% -0.0829 0.0935)
OKLCHoklch(49.66% 0.125 131.6)
XYZxyz(8.5374, 12.9855, 2.8155)
Luminance0.1299 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477016 #3F1670
analogous
#706C16 #477016 #1A7016
triadic
#477016 #164770 #701647
tetradic
#477016 #16706C #3F1670 #70161A
square
#477016 #16706C #3F1670 #70161A
split-complementary
#477016 #161A70 #6C1670
monochromatic
#101A05 #273D0C #477016 #67A320 #88D52B

Accessibility & contrast

On white

5.84
#477016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#477016 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477016
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477016#FFFFFF#000000##FFFFFF
##4770161.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756701
Deuteranopia (green-blind)
#70641F
Tritanopia (blue-blind)
#486B5F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #477016;
/* rgb */ color: rgb(71, 112, 22);
/* oklch */ color: oklch(49.7% 0.125 131.6);
Tailwind
colors: {
  custom: {
    50: '#7e995b',
    500: '#477016',
    950: '#000000',
  },
}
SCSS
$custom: #477016;
$custom-light: #7e995b;
$custom-dark: #000000;
JSON
{
  "hex": "#477016",
  "rgb": {
    "r": 71,
    "g": 112,
    "b": 22
  },
  "hsl": {
    "h": 87.333,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49656,
    "c": 0.12501,
    "h": 131.6
  },
  "luminance": 0.12986
}

Semantic roles & 50–950 ramp

primary
#477016
secondary
#6C3CA6
accent
#3EEA8C
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #477016

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

Preview Lab → · Contrast checker → · Palette generator →

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