#47831C#47831C

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

Color values

HEX#47831C
RGBrgb(71, 131, 28)
HSLhsl(95, 65%, 31%)
HSVhsv(95, 79%, 51%)
CMYKcmyk(45.8%, 0%, 78.6%, 48.6%)
CIE-LABlab(49.08, -37.40, 46.10)
CIE-LCHlch(49.08, 59.36, 129.05°)
OKLaboklab(54.85% -0.1044 0.1028)
OKLCHoklch(54.85% 0.147 135.5)
XYZxyz(10.9242, 17.6554, 3.9306)
Luminance0.1766 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47831C #581C83
analogous
#7A831C #47831C #1C8324
triadic
#47831C #1C4783 #831C47
tetradic
#47831C #1C7A83 #581C83 #83241C
square
#47831C #1C7A83 #581C83 #83241C
split-complementary
#47831C #241C83 #831C7A
monochromatic
#101E06 #2C5111 #47831C #62B527 #80D743

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##47831C#FFFFFF#000000##FFFFFF
##47831C1.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)
#887803
Deuteranopia (green-blind)
#807327
Tritanopia (blue-blind)
#457E70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #47831c;
/* rgb */ color: rgb(71, 131, 28);
/* oklch */ color: oklch(54.9% 0.147 135.5);
Tailwind
colors: {
  custom: {
    50: '#80a761',
    500: '#47831c',
    950: '#000000',
  },
}
SCSS
$custom: #47831c;
$custom-light: #80a761;
$custom-dark: #000000;
JSON
{
  "hex": "#47831c",
  "rgb": {
    "r": 71,
    "g": 131,
    "b": 28
  },
  "hsl": {
    "h": 94.951,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54852,
    "c": 0.14654,
    "h": 135.5
  },
  "luminance": 0.17656
}

Semantic roles & 50–950 ramp

primary
#47831C
secondary
#8745B6
accent
#40E8A2
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #47831C

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

Preview Lab → · Contrast checker → · Palette generator →

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