#47981A#47981A

#47981A is a mid, vivid yellow-green. Relative luminance 0.239; OKLCH L 60.5% C 0.173 H 137.4°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#47981A
RGBrgb(71, 152, 26)
HSLhsl(99, 71%, 35%)
HSVhsv(99, 83%, 60%)
CMYKcmyk(53.3%, 0%, 82.9%, 40.4%)
CIE-LABlab(55.96, -46.02, 53.19)
CIE-LCHlch(55.96, 70.33, 130.87°)
OKLaboklab(60.51% -0.1277 0.1173)
OKLCHoklch(60.51% 0.173 137.4)
XYZxyz(14.0128, 23.8696, 4.8460)
Luminance0.2387 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47981A #6B1A98
analogous
#86981A #47981A #1A982C
triadic
#47981A #1A4798 #981A47
tetradic
#47981A #1A8698 #6B1A98 #982C1A
square
#47981A #1A8698 #6B1A98 #982C1A
split-complementary
#47981A #2C1A98 #981A86
monochromatic
#162F08 #2F6411 #47981A #5FCC23 #81E04C

Accessibility & contrast

On white

3.64
#47981A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#47981A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #47981A
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47981A#FFFFFF#000000##000000
##47981A1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#93842A
Tritanopia (blue-blind)
#419281
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #47981a;
/* rgb */ color: rgb(71, 152, 26);
/* oklch */ color: oklch(60.5% 0.173 137.4);
Tailwind
colors: {
  custom: {
    50: '#83b763',
    500: '#47981a',
    950: '#000000',
  },
}
SCSS
$custom: #47981a;
$custom-light: #83b763;
$custom-dark: #000000;
JSON
{
  "hex": "#47981a",
  "rgb": {
    "r": 71,
    "g": 152,
    "b": 26
  },
  "hsl": {
    "h": 98.571,
    "s": 70.787,
    "l": 34.902
  },
  "oklch": {
    "l": 0.60509,
    "c": 0.17344,
    "h": 137.4
  },
  "luminance": 0.23871
}

Semantic roles & 50–950 ramp

primary
#47981A
secondary
#984BC2
accent
#3AEEAE
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #47981A

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

Preview Lab → · Contrast checker → · Palette generator →

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