#477213#477213

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

Color values

HEX#477213
RGBrgb(71, 114, 19)
HSLhsl(87, 71%, 26%)
HSVhsv(87, 83%, 45%)
CMYKcmyk(37.7%, 0%, 83.3%, 55.3%)
CIE-LABlab(43.39, -30.37, 43.74)
CIE-LCHlch(43.39, 53.25, 124.77°)
OKLaboklab(50.18% -0.0861 0.0964)
OKLCHoklch(50.18% 0.129 131.8)
XYZxyz(8.7333, 13.4209, 2.7463)
Luminance0.1342 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477213 #3E1372
analogous
#726D13 #477213 #177213
triadic
#477213 #134772 #721347
tetradic
#477213 #13726D #3E1372 #721317
square
#477213 #13726D #3E1372 #721317
split-complementary
#477213 #131772 #6D1372
monochromatic
#101A04 #263E0A #477213 #68A61C #88DB25

Accessibility & contrast

On white

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

On black

3.68
#477213 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##477213#FFFFFF#000000##FFFFFF
##4772131.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #477213;
/* rgb */ color: rgb(71, 114, 19);
/* oklch */ color: oklch(50.2% 0.129 131.8);
Tailwind
colors: {
  custom: {
    50: '#7f9b5a',
    500: '#477213',
    950: '#000000',
  },
}
SCSS
$custom: #477213;
$custom-light: #7f9b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#477213",
  "rgb": {
    "r": 71,
    "g": 114,
    "b": 19
  },
  "hsl": {
    "h": 87.158,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.50181,
    "c": 0.12927,
    "h": 131.8
  },
  "luminance": 0.13421
}

Semantic roles & 50–950 ramp

primary
#477213
secondary
#6B38A9
accent
#3AEE8B
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #477213

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

Preview Lab → · Contrast checker → · Palette generator →

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