#47981C#47981C

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

Color values

HEX#47981C
RGBrgb(71, 152, 28)
HSLhsl(99, 69%, 35%)
HSVhsv(99, 82%, 60%)
CMYKcmyk(53.3%, 0%, 81.6%, 40.4%)
CIE-LABlab(55.97, -45.92, 52.61)
CIE-LCHlch(55.97, 69.83, 131.11°)
OKLaboklab(60.52% -0.1273 0.1164)
OKLCHoklch(60.52% 0.173 137.6)
XYZxyz(14.0359, 23.8788, 4.9678)
Luminance0.2388 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47981C #6D1C98
analogous
#85981C #47981C #1C982F
triadic
#47981C #1C4798 #981C47
tetradic
#47981C #1C8598 #6D1C98 #982F1C
square
#47981C #1C8598 #6D1C98 #982F1C
split-complementary
#47981C #2F1C98 #981C85
monochromatic
#173109 #2F6412 #47981C #5FCC26 #81DF50

Accessibility & contrast

On white

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

On black

5.78
#47981C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #47981C
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47981C#FFFFFF#000000##000000
##47981C1.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #47981c;
/* rgb */ color: rgb(71, 152, 28);
/* oklch */ color: oklch(60.5% 0.173 137.6);
Tailwind
colors: {
  custom: {
    50: '#83b764',
    500: '#47981c',
    950: '#000000',
  },
}
SCSS
$custom: #47981c;
$custom-light: #83b764;
$custom-dark: #000000;
JSON
{
  "hex": "#47981c",
  "rgb": {
    "r": 71,
    "g": 152,
    "b": 28
  },
  "hsl": {
    "h": 99.194,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.6052,
    "c": 0.17254,
    "h": 137.6
  },
  "luminance": 0.2388
}

Semantic roles & 50–950 ramp

primary
#47981C
secondary
#9A4EC1
accent
#3CECAF
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #47981C

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

Preview Lab → · Contrast checker → · Palette generator →

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