#47831E#47831E

#47831E is a mid, vivid yellow-green. Relative luminance 0.177; OKLCH L 54.9% C 0.145 H 135.6°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#47831E
RGBrgb(71, 131, 30)
HSLhsl(96, 63%, 32%)
HSVhsv(96, 77%, 51%)
CMYKcmyk(45.8%, 0%, 77.1%, 48.6%)
CIE-LABlab(49.09, -37.27, 45.40)
CIE-LCHlch(49.09, 58.73, 129.38°)
OKLaboklab(54.87% -0.1039 0.1017)
OKLCHoklch(54.87% 0.145 135.6)
XYZxyz(10.9489, 17.6653, 4.0609)
Luminance0.1767 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47831E #5A1E83
analogous
#7A831E #47831E #1E8328
triadic
#47831E #1E4783 #831E47
tetradic
#47831E #1E7A83 #5A1E83 #83281E
square
#47831E #1E7A83 #5A1E83 #83281E
split-complementary
#47831E #281E83 #831E7A
monochromatic
#111F07 #2C5113 #47831E #62B529 #80D547

Accessibility & contrast

On white

4.63
#47831E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#47831E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #47831E
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47831E#FFFFFF#000000##FFFFFF
##47831E1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887808
Deuteranopia (green-blind)
#807328
Tritanopia (blue-blind)
#457E70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #47831e;
/* rgb */ color: rgb(71, 131, 30);
/* oklch */ color: oklch(54.9% 0.145 135.6);
Tailwind
colors: {
  custom: {
    50: '#80a762',
    500: '#47831e',
    950: '#000000',
  },
}
SCSS
$custom: #47831e;
$custom-light: #80a762;
$custom-dark: #000000;
JSON
{
  "hex": "#47831e",
  "rgb": {
    "r": 71,
    "g": 131,
    "b": 30
  },
  "hsl": {
    "h": 95.644,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54866,
    "c": 0.14538,
    "h": 135.6
  },
  "luminance": 0.17666
}

Semantic roles & 50–950 ramp

primary
#47831E
secondary
#8947B6
accent
#42E6A3
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #47831E

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

Preview Lab → · Contrast checker → · Palette generator →

#47831E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva