#477214#477214

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

Color values

HEX#477214
RGBrgb(71, 114, 20)
HSLhsl(87, 70%, 26%)
HSVhsv(87, 82%, 45%)
CMYKcmyk(37.7%, 0%, 82.5%, 55.3%)
CIE-LABlab(43.40, -30.32, 43.43)
CIE-LCHlch(43.40, 52.96, 124.92°)
OKLaboklab(50.19% -0.0859 0.0959)
OKLCHoklch(50.19% 0.129 131.9)
XYZxyz(8.7420, 13.4244, 2.7922)
Luminance0.1343 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477214 #3F1472
analogous
#726E14 #477214 #187214
triadic
#477214 #144772 #721447
tetradic
#477214 #14726E #3F1472 #721418
square
#477214 #14726E #3F1472 #721418
split-complementary
#477214 #141872 #6E1472
monochromatic
#101A05 #273E0B #477214 #67A61D #88D927

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##477214#FFFFFF#000000##FFFFFF
##4772141.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)
#71651E
Tritanopia (blue-blind)
#486D61
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #477214;
/* rgb */ color: rgb(71, 114, 20);
/* oklch */ color: oklch(50.2% 0.129 131.9);
Tailwind
colors: {
  custom: {
    50: '#7f9b5b',
    500: '#477214',
    950: '#000000',
  },
}
SCSS
$custom: #477214;
$custom-light: #7f9b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#477214",
  "rgb": {
    "r": 71,
    "g": 114,
    "b": 20
  },
  "hsl": {
    "h": 87.447,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.50187,
    "c": 0.12876,
    "h": 131.9
  },
  "luminance": 0.13425
}

Semantic roles & 50–950 ramp

primary
#477214
secondary
#6C39A8
accent
#3BED8C
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #477214

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

Preview Lab → · Contrast checker → · Palette generator →

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