#47981F#47981F

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

Color values

HEX#47981F
RGBrgb(71, 152, 31)
HSLhsl(100, 66%, 36%)
HSVhsv(100, 80%, 60%)
CMYKcmyk(53.3%, 0%, 79.6%, 40.4%)
CIE-LABlab(55.98, -45.74, 51.70)
CIE-LCHlch(55.98, 69.03, 131.50°)
OKLaboklab(60.54% -0.1267 0.115)
OKLCHoklch(60.54% 0.171 137.8)
XYZxyz(14.0736, 23.8939, 5.1664)
Luminance0.2389 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47981F #701F98
analogous
#83981F #47981F #1F9833
triadic
#47981F #1F4798 #981F47
tetradic
#47981F #1F8398 #701F98 #98331F
square
#47981F #1F8398 #701F98 #98331F
split-complementary
#47981F #331F98 #981F83
monochromatic
#18320A #2F6515 #47981F #5FCB29 #82DC55

Accessibility & contrast

On white

3.63
#47981F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##47981F#FFFFFF#000000##000000
##47981F1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #47981f;
/* rgb */ color: rgb(71, 152, 31);
/* oklch */ color: oklch(60.5% 0.171 137.8);
Tailwind
colors: {
  custom: {
    50: '#83b765',
    500: '#47981f',
    950: '#000000',
  },
}
SCSS
$custom: #47981f;
$custom-light: #83b765;
$custom-dark: #000000;
JSON
{
  "hex": "#47981f",
  "rgb": {
    "r": 71,
    "g": 152,
    "b": 31
  },
  "hsl": {
    "h": 100.165,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.60537,
    "c": 0.17109,
    "h": 137.8
  },
  "luminance": 0.23895
}

Semantic roles & 50–950 ramp

primary
#47981F
secondary
#9C53C0
accent
#3FE9B1
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #47981F

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

Preview Lab → · Contrast checker → · Palette generator →

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