#47931F#47931F

#47931F is a mid, vivid yellow-green. Relative luminance 0.223; OKLCH L 59.2% C 0.165 H 137.4°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#47931F
RGBrgb(71, 147, 31)
HSLhsl(99, 65%, 35%)
HSVhsv(99, 79%, 58%)
CMYKcmyk(51.7%, 0%, 78.9%, 42.4%)
CIE-LABlab(54.35, -43.78, 50.14)
CIE-LCHlch(54.35, 66.57, 131.13°)
OKLaboklab(59.19% -0.1214 0.1117)
OKLCHoklch(59.19% 0.165 137.4)
XYZxyz(13.2791, 22.3050, 4.9016)
Luminance0.2231 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47931F #6B1F93
analogous
#81931F #47931F #1F9331
triadic
#47931F #1F4793 #931F47
tetradic
#47931F #1F8193 #6B1F93 #93311F
square
#47931F #1F8193 #6B1F93 #93311F
split-complementary
#47931F #311F93 #931F81
monochromatic
#162E0A #2F6014 #47931F #5FC62A #81DA52

Accessibility & contrast

On white

3.85
#47931F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#47931F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #47931F
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47931F#FFFFFF#000000##000000
##47931F1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#8E802C
Tritanopia (blue-blind)
#428E7D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #47931f;
/* rgb */ color: rgb(71, 147, 31);
/* oklch */ color: oklch(59.2% 0.165 137.4);
Tailwind
colors: {
  custom: {
    50: '#82b364',
    500: '#47931f',
    950: '#000000',
  },
}
SCSS
$custom: #47931f;
$custom-light: #82b364;
$custom-dark: #000000;
JSON
{
  "hex": "#47931f",
  "rgb": {
    "r": 71,
    "g": 147,
    "b": 31
  },
  "hsl": {
    "h": 99.31,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59193,
    "c": 0.165,
    "h": 137.4
  },
  "luminance": 0.22306
}

Semantic roles & 50–950 ramp

primary
#47931F
secondary
#9850BE
accent
#40E8AE
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #47931F

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

Preview Lab → · Contrast checker → · Palette generator →

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