#47981B#47981B

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

Color values

HEX#47981B
RGBrgb(71, 152, 27)
HSLhsl(99, 70%, 35%)
HSVhsv(99, 82%, 60%)
CMYKcmyk(53.3%, 0%, 82.2%, 40.4%)
CIE-LABlab(55.96, -45.97, 52.90)
CIE-LCHlch(55.96, 70.09, 130.99°)
OKLaboklab(60.51% -0.1275 0.1169)
OKLCHoklch(60.51% 0.173 137.5)
XYZxyz(14.0241, 23.8741, 4.9059)
Luminance0.2387 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47981B #6C1B98
analogous
#85981B #47981B #1B982E
triadic
#47981B #1B4798 #981B47
tetradic
#47981B #1B8598 #6C1B98 #982E1B
square
#47981B #1B8598 #6C1B98 #982E1B
split-complementary
#47981B #2E1B98 #981B85
monochromatic
#163009 #2F6412 #47981B #5FCC24 #81E04E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##47981B#FFFFFF#000000##000000
##47981B1.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)
#93842A
Tritanopia (blue-blind)
#419281
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #47981b;
/* rgb */ color: rgb(71, 152, 27);
/* oklch */ color: oklch(60.5% 0.173 137.5);
Tailwind
colors: {
  custom: {
    50: '#83b763',
    500: '#47981b',
    950: '#000000',
  },
}
SCSS
$custom: #47981b;
$custom-light: #83b763;
$custom-dark: #000000;
JSON
{
  "hex": "#47981b",
  "rgb": {
    "r": 71,
    "g": 152,
    "b": 27
  },
  "hsl": {
    "h": 98.88,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60515,
    "c": 0.173,
    "h": 137.5
  },
  "luminance": 0.23875
}

Semantic roles & 50–950 ramp

primary
#47981B
secondary
#994DC2
accent
#3BEDAE
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #47981B

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

Preview Lab → · Contrast checker → · Palette generator →

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