#47981D#47981D

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

Color values

HEX#47981D
RGBrgb(71, 152, 29)
HSLhsl(100, 68%, 35%)
HSVhsv(100, 81%, 60%)
CMYKcmyk(53.3%, 0%, 80.9%, 40.4%)
CIE-LABlab(55.97, -45.86, 52.32)
CIE-LCHlch(55.97, 69.57, 131.24°)
OKLaboklab(60.53% -0.1271 0.116)
OKLCHoklch(60.53% 0.172 137.6)
XYZxyz(14.0481, 23.8837, 5.0319)
Luminance0.2389 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47981D #6E1D98
analogous
#84981D #47981D #1D9830
triadic
#47981D #1D4798 #981D47
tetradic
#47981D #1D8498 #6E1D98 #98301D
square
#47981D #1D8498 #6E1D98 #98301D
split-complementary
#47981D #301D98 #981D84
monochromatic
#173109 #2F6513 #47981D #5FCB27 #81DE52

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##47981D#FFFFFF#000000##000000
##47981D1.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: #47981d;
/* rgb */ color: rgb(71, 152, 29);
/* oklch */ color: oklch(60.5% 0.172 137.6);
Tailwind
colors: {
  custom: {
    50: '#83b764',
    500: '#47981d',
    950: '#000000',
  },
}
SCSS
$custom: #47981d;
$custom-light: #83b764;
$custom-dark: #000000;
JSON
{
  "hex": "#47981d",
  "rgb": {
    "r": 71,
    "g": 152,
    "b": 29
  },
  "hsl": {
    "h": 99.512,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.60526,
    "c": 0.17207,
    "h": 137.6
  },
  "luminance": 0.23885
}

Semantic roles & 50–950 ramp

primary
#47981D
secondary
#9A50C1
accent
#3DEBAF
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #47981D

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

Preview Lab → · Contrast checker → · Palette generator →

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