#477218#477218

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

Color values

HEX#477218
RGBrgb(71, 114, 24)
HSLhsl(89, 65%, 27%)
HSVhsv(89, 79%, 45%)
CMYKcmyk(37.7%, 0%, 78.9%, 55.3%)
CIE-LABlab(43.42, -30.09, 42.07)
CIE-LCHlch(43.42, 51.72, 125.57°)
OKLaboklab(50.21% -0.085 0.0937)
OKLCHoklch(50.21% 0.127 132.2)
XYZxyz(8.7806, 13.4398, 2.9955)
Luminance0.1344 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477218 #431872
analogous
#727018 #477218 #1A7218
triadic
#477218 #184772 #721847
tetradic
#477218 #187270 #431872 #72181A
square
#477218 #187270 #431872 #72181A
split-complementary
#477218 #181A72 #701872
monochromatic
#101905 #283F0D #477218 #66A523 #86D431

Accessibility & contrast

On white

5.69
#477218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #477218
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477218#FFFFFF#000000##FFFFFF
##4772181.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776904
Deuteranopia (green-blind)
#716521
Tritanopia (blue-blind)
#486D61
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #477218;
/* rgb */ color: rgb(71, 114, 24);
/* oklch */ color: oklch(50.2% 0.127 132.2);
Tailwind
colors: {
  custom: {
    50: '#7e9b5c',
    500: '#477218',
    950: '#000000',
  },
}
SCSS
$custom: #477218;
$custom-light: #7e9b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#477218",
  "rgb": {
    "r": 71,
    "g": 114,
    "b": 24
  },
  "hsl": {
    "h": 88.667,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.50213,
    "c": 0.12652,
    "h": 132.2
  },
  "luminance": 0.1344
}

Semantic roles & 50–950 ramp

primary
#477218
secondary
#713EA7
accent
#40E890
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #477218

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

Preview Lab → · Contrast checker → · Palette generator →

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