#477112#477112

#477112 is a mid, vivid yellow-green. Relative luminance 0.132; OKLCH L 49.9% C 0.128 H 131.5°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#477112
RGBrgb(71, 113, 18)
HSLhsl(87, 73%, 26%)
HSVhsv(87, 84%, 44%)
CMYKcmyk(37.2%, 0%, 84.1%, 55.7%)
CIE-LABlab(43.05, -29.96, 43.75)
CIE-LCHlch(43.05, 53.02, 124.40°)
OKLaboklab(49.9% -0.0851 0.0963)
OKLCHoklch(49.9% 0.128 131.5)
XYZxyz(8.6128, 13.1932, 2.6649)
Luminance0.1319 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477112 #3C1271
analogous
#716B12 #477112 #187112
triadic
#477112 #124771 #711247
tetradic
#477112 #12716B #3C1271 #711218
square
#477112 #12716B #3C1271 #711218
split-complementary
#477112 #121871 #6B1271
monochromatic
#111A04 #263C0A #477112 #68A61A #89DB23

Accessibility & contrast

On white

5.77
#477112 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#477112 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477112
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477112#FFFFFF#000000##FFFFFF
##4771121.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#71651D
Tritanopia (blue-blind)
#486C60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #477112;
/* rgb */ color: rgb(71, 113, 18);
/* oklch */ color: oklch(49.9% 0.128 131.5);
Tailwind
colors: {
  custom: {
    50: '#7f9a5a',
    500: '#477112',
    950: '#000000',
  },
}
SCSS
$custom: #477112;
$custom-light: #7f9a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#477112",
  "rgb": {
    "r": 71,
    "g": 113,
    "b": 18
  },
  "hsl": {
    "h": 86.526,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.49903,
    "c": 0.12846,
    "h": 131.5
  },
  "luminance": 0.13194
}

Semantic roles & 50–950 ramp

primary
#477112
secondary
#6937A8
accent
#39EF89
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #477112

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

Preview Lab → · Contrast checker → · Palette generator →

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