#47831D#47831D

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

Color values

HEX#47831D
RGBrgb(71, 131, 29)
HSLhsl(95, 64%, 31%)
HSVhsv(95, 78%, 51%)
CMYKcmyk(45.8%, 0%, 77.9%, 48.6%)
CIE-LABlab(49.08, -37.33, 45.75)
CIE-LCHlch(49.08, 59.05, 129.21°)
OKLaboklab(54.86% -0.1042 0.1022)
OKLCHoklch(54.86% 0.146 135.5)
XYZxyz(10.9363, 17.6602, 3.9947)
Luminance0.1766 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47831D #591D83
analogous
#7A831D #47831D #1D8326
triadic
#47831D #1D4783 #831D47
tetradic
#47831D #1D7A83 #591D83 #83261D
square
#47831D #1D7A83 #591D83 #83261D
split-complementary
#47831D #261D83 #831D7A
monochromatic
#111F07 #2C5112 #47831D #62B528 #80D645

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##47831D#FFFFFF#000000##FFFFFF
##47831D1.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)
#887806
Deuteranopia (green-blind)
#807328
Tritanopia (blue-blind)
#457E70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #47831d;
/* rgb */ color: rgb(71, 131, 29);
/* oklch */ color: oklch(54.9% 0.146 135.5);
Tailwind
colors: {
  custom: {
    50: '#80a761',
    500: '#47831d',
    950: '#000000',
  },
}
SCSS
$custom: #47831d;
$custom-light: #80a761;
$custom-dark: #000000;
JSON
{
  "hex": "#47831d",
  "rgb": {
    "r": 71,
    "g": 131,
    "b": 29
  },
  "hsl": {
    "h": 95.294,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54859,
    "c": 0.14597,
    "h": 135.5
  },
  "luminance": 0.17661
}

Semantic roles & 50–950 ramp

primary
#47831D
secondary
#8846B6
accent
#41E7A3
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #47831D

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

Preview Lab → · Contrast checker → · Palette generator →

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