#47831A#47831A

#47831A is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 54.8% C 0.148 H 135.3°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#47831A
RGBrgb(71, 131, 26)
HSLhsl(94, 67%, 31%)
HSVhsv(94, 80%, 51%)
CMYKcmyk(45.8%, 0%, 80.2%, 48.6%)
CIE-LABlab(49.06, -37.52, 46.77)
CIE-LCHlch(49.06, 59.96, 128.74°)
OKLaboklab(54.84% -0.1049 0.1039)
OKLCHoklch(54.84% 0.148 135.3)
XYZxyz(10.9010, 17.6461, 3.8087)
Luminance0.1765 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47831A #561A83
analogous
#7B831A #47831A #1A8322
triadic
#47831A #1A4783 #831A47
tetradic
#47831A #1A7B83 #561A83 #83221A
square
#47831A #1A7B83 #561A83 #83221A
split-complementary
#47831A #221A83 #831A7B
monochromatic
#101D06 #2B5010 #47831A #63B624 #81D93F

Accessibility & contrast

On white

4.64
#47831A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #47831A
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47831A#FFFFFF#000000##FFFFFF
##47831A1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#807326
Tritanopia (blue-blind)
#457E6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #47831a;
/* rgb */ color: rgb(71, 131, 26);
/* oklch */ color: oklch(54.8% 0.148 135.3);
Tailwind
colors: {
  custom: {
    50: '#80a760',
    500: '#47831a',
    950: '#000000',
  },
}
SCSS
$custom: #47831a;
$custom-light: #80a760;
$custom-dark: #000000;
JSON
{
  "hex": "#47831a",
  "rgb": {
    "r": 71,
    "g": 131,
    "b": 26
  },
  "hsl": {
    "h": 94.286,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54839,
    "c": 0.14764,
    "h": 135.3
  },
  "luminance": 0.17647
}

Semantic roles & 50–950 ramp

primary
#47831A
secondary
#8542B7
accent
#3EEAA0
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #47831A

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

Preview Lab → · Contrast checker → · Palette generator →

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