#47901B#47901B

#47901B is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.4% C 0.163 H 136.8°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#47901B
RGBrgb(71, 144, 27)
HSLhsl(97, 68%, 34%)
HSVhsv(97, 81%, 56%)
CMYKcmyk(50.7%, 0%, 81.3%, 43.5%)
CIE-LABlab(53.35, -42.82, 50.48)
CIE-LCHlch(53.35, 66.19, 130.31°)
OKLaboklab(58.36% -0.1191 0.1118)
OKLCHoklch(58.36% 0.163 136.8)
XYZxyz(12.7692, 21.3643, 4.4876)
Luminance0.2137 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47901B #641B90
analogous
#81901B #47901B #1B9029
triadic
#47901B #1B4790 #901B47
tetradic
#47901B #1B8190 #641B90 #90291B
square
#47901B #1B8190 #641B90 #90291B
split-complementary
#47901B #291B90 #901B81
monochromatic
#142908 #2E5C11 #47901B #60C425 #80DD49

Accessibility & contrast

On white

3.98
#47901B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#47901B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #47901B
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47901B#FFFFFF#000000##000000
##47901B1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8C7D29
Tritanopia (blue-blind)
#438B7B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #47901b;
/* rgb */ color: rgb(71, 144, 27);
/* oklch */ color: oklch(58.4% 0.163 136.8);
Tailwind
colors: {
  custom: {
    50: '#82b162',
    500: '#47901b',
    950: '#000000',
  },
}
SCSS
$custom: #47901b;
$custom-light: #82b162;
$custom-dark: #000000;
JSON
{
  "hex": "#47901b",
  "rgb": {
    "r": 71,
    "g": 144,
    "b": 27
  },
  "hsl": {
    "h": 97.436,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5836,
    "c": 0.16335,
    "h": 136.8
  },
  "luminance": 0.21365
}

Semantic roles & 50–950 ramp

primary
#47901B
secondary
#9248BF
accent
#3DEBAA
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #47901B

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

Preview Lab → · Contrast checker → · Palette generator →

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