#477412#477412

#477412 is a mid, vivid yellow-green. Relative luminance 0.139; OKLCH L 50.7% C 0.132 H 132.1°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#477412
RGBrgb(71, 116, 18)
HSLhsl(88, 73%, 26%)
HSVhsv(88, 84%, 45%)
CMYKcmyk(38.8%, 0%, 84.5%, 54.5%)
CIE-LABlab(44.05, -31.34, 44.66)
CIE-LCHlch(44.05, 54.56, 125.06°)
OKLaboklab(50.72% -0.0888 0.0982)
OKLCHoklch(50.72% 0.132 132.1)
XYZxyz(8.9530, 13.8737, 2.7783)
Luminance0.1387 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477412 #3F1274
analogous
#747012 #477412 #167412
triadic
#477412 #124774 #741247
tetradic
#477412 #127470 #3F1274 #741216
square
#477412 #127470 #3F1274 #741216
split-complementary
#477412 #121674 #701274
monochromatic
#101A04 #273F0A #477412 #67A91A #88DD23

Accessibility & contrast

On white

5.56
#477412 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#477412 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477412
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477412#FFFFFF#000000##FFFFFF
##4774121.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#73671D
Tritanopia (blue-blind)
#486F62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #477412;
/* rgb */ color: rgb(71, 116, 18);
/* oklch */ color: oklch(50.7% 0.132 132.1);
Tailwind
colors: {
  custom: {
    50: '#7f9c5a',
    500: '#477412',
    950: '#000000',
  },
}
SCSS
$custom: #477412;
$custom-light: #7f9c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#477412",
  "rgb": {
    "r": 71,
    "g": 116,
    "b": 18
  },
  "hsl": {
    "h": 87.551,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.50719,
    "c": 0.13237,
    "h": 132.1
  },
  "luminance": 0.13874
}

Semantic roles & 50–950 ramp

primary
#477412
secondary
#6C37AB
accent
#38F08C
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #477412

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

Preview Lab → · Contrast checker → · Palette generator →

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