#47931B#47931B

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

Color values

HEX#47931B
RGBrgb(71, 147, 27)
HSLhsl(98, 69%, 34%)
HSVhsv(98, 82%, 58%)
CMYKcmyk(51.7%, 0%, 81.6%, 42.4%)
CIE-LABlab(54.33, -44.02, 51.39)
CIE-LCHlch(54.33, 67.67, 130.58°)
OKLaboklab(59.17% -0.1223 0.1137)
OKLCHoklch(59.17% 0.167 137.1)
XYZxyz(13.2297, 22.2852, 4.6410)
Luminance0.2229 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47931B #671B93
analogous
#83931B #47931B #1B932B
triadic
#47931B #1B4793 #931B47
tetradic
#47931B #1B8393 #671B93 #932B1B
square
#47931B #1B8393 #671B93 #932B1B
split-complementary
#47931B #2B1B93 #931B83
monochromatic
#152C08 #2E5F12 #47931B #60C724 #81DE4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##47931B#FFFFFF#000000##000000
##47931B1.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)
#8E8029
Tritanopia (blue-blind)
#428D7D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #47931b;
/* rgb */ color: rgb(71, 147, 27);
/* oklch */ color: oklch(59.2% 0.167 137.1);
Tailwind
colors: {
  custom: {
    50: '#82b363',
    500: '#47931b',
    950: '#000000',
  },
}
SCSS
$custom: #47931b;
$custom-light: #82b363;
$custom-dark: #000000;
JSON
{
  "hex": "#47931b",
  "rgb": {
    "r": 71,
    "g": 147,
    "b": 27
  },
  "hsl": {
    "h": 98,
    "s": 68.966,
    "l": 34.118
  },
  "oklch": {
    "l": 0.59169,
    "c": 0.167,
    "h": 137.1
  },
  "luminance": 0.22286
}

Semantic roles & 50–950 ramp

primary
#47931B
secondary
#954AC0
accent
#3CECAB
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #47931B

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

Preview Lab → · Contrast checker → · Palette generator →

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