#47901F#47901F

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

Color values

HEX#47901F
RGBrgb(71, 144, 31)
HSLhsl(99, 65%, 34%)
HSVhsv(99, 78%, 56%)
CMYKcmyk(50.7%, 0%, 78.5%, 43.5%)
CIE-LABlab(53.37, -42.59, 49.20)
CIE-LCHlch(53.37, 65.07, 130.88°)
OKLaboklab(58.39% -0.1182 0.1098)
OKLCHoklch(58.39% 0.161 137.1)
XYZxyz(12.8187, 21.3841, 4.7481)
Luminance0.2139 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47901F #681F90
analogous
#80901F #47901F #1F9030
triadic
#47901F #1F4790 #901F47
tetradic
#47901F #1F8090 #681F90 #90301F
square
#47901F #1F8090 #681F90 #90301F
split-complementary
#47901F #301F90 #901F80
monochromatic
#152B09 #2E5E14 #47901F #60C22A #81D950

Accessibility & contrast

On white

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

On black

5.28
#47901F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #47901F
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47901F#FFFFFF#000000##000000
##47901F1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#958302
Deuteranopia (green-blind)
#8B7D2B
Tritanopia (blue-blind)
#428B7B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #47901f;
/* rgb */ color: rgb(71, 144, 31);
/* oklch */ color: oklch(58.4% 0.161 137.1);
Tailwind
colors: {
  custom: {
    50: '#82b164',
    500: '#47901f',
    950: '#000000',
  },
}
SCSS
$custom: #47901f;
$custom-light: #82b164;
$custom-dark: #000000;
JSON
{
  "hex": "#47901f",
  "rgb": {
    "r": 71,
    "g": 144,
    "b": 31
  },
  "hsl": {
    "h": 98.761,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58385,
    "c": 0.1613,
    "h": 137.1
  },
  "luminance": 0.21385
}

Semantic roles & 50–950 ramp

primary
#47901F
secondary
#954EBC
accent
#40E8AC
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #47901F

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

Preview Lab → · Contrast checker → · Palette generator →

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