#47841A#47841A

#47841A is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.1% C 0.149 H 135.4°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#47841A
RGBrgb(71, 132, 26)
HSLhsl(95, 67%, 31%)
HSVhsv(95, 80%, 52%)
CMYKcmyk(46.2%, 0%, 80.3%, 48.2%)
CIE-LABlab(49.39, -37.94, 47.08)
CIE-LCHlch(49.39, 60.47, 128.86°)
OKLaboklab(55.11% -0.106 0.1046)
OKLCHoklch(55.11% 0.149 135.4)
XYZxyz(11.0360, 17.9160, 3.8537)
Luminance0.1792 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47841A #571A84
analogous
#7C841A #47841A #1A8422
triadic
#47841A #1A4784 #841A47
tetradic
#47841A #1A7C84 #571A84 #84221A
square
#47841A #1A7C84 #571A84 #84221A
split-complementary
#47841A #221A84 #841A7C
monochromatic
#101E06 #2B5110 #47841A #63B724 #81D93F

Accessibility & contrast

On white

4.58
#47841A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#47841A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #47841A
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47841A#FFFFFF#000000##000000
##47841A1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#817426
Tritanopia (blue-blind)
#457F70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #47841a;
/* rgb */ color: rgb(71, 132, 26);
/* oklch */ color: oklch(55.1% 0.149 135.4);
Tailwind
colors: {
  custom: {
    50: '#80a860',
    500: '#47841a',
    950: '#000000',
  },
}
SCSS
$custom: #47841a;
$custom-light: #80a860;
$custom-dark: #000000;
JSON
{
  "hex": "#47841a",
  "rgb": {
    "r": 71,
    "g": 132,
    "b": 26
  },
  "hsl": {
    "h": 94.528,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.5511,
    "c": 0.14891,
    "h": 135.4
  },
  "luminance": 0.17917
}

Semantic roles & 50–950 ramp

primary
#47841A
secondary
#8642B8
accent
#3EEAA1
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #47841A

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

Preview Lab → · Contrast checker → · Palette generator →

#47841A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva