#47841B#47841B

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

Color values

HEX#47841B
RGBrgb(71, 132, 27)
HSLhsl(95, 66%, 31%)
HSVhsv(95, 80%, 52%)
CMYKcmyk(46.2%, 0%, 79.5%, 48.2%)
CIE-LABlab(49.40, -37.88, 46.75)
CIE-LCHlch(49.40, 60.18, 129.02°)
OKLaboklab(55.12% -0.1058 0.104)
OKLCHoklch(55.12% 0.148 135.5)
XYZxyz(11.0474, 17.9206, 3.9136)
Luminance0.1792 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47841B #581B84
analogous
#7B841B #47841B #1B8423
triadic
#47841B #1B4784 #841B47
tetradic
#47841B #1B7B84 #581B84 #84231B
square
#47841B #1B7B84 #581B84 #84231B
split-complementary
#47841B #231B84 #841B7B
monochromatic
#101E06 #2C5111 #47841B #62B725 #80D841

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##47841B#FFFFFF#000000##000000
##47841B1.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)
#897901
Deuteranopia (green-blind)
#817426
Tritanopia (blue-blind)
#457F70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #47841b;
/* rgb */ color: rgb(71, 132, 27);
/* oklch */ color: oklch(55.1% 0.148 135.5);
Tailwind
colors: {
  custom: {
    50: '#80a860',
    500: '#47841b',
    950: '#000000',
  },
}
SCSS
$custom: #47841b;
$custom-light: #80a860;
$custom-dark: #000000;
JSON
{
  "hex": "#47841b",
  "rgb": {
    "r": 71,
    "g": 132,
    "b": 27
  },
  "hsl": {
    "h": 94.857,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55116,
    "c": 0.14837,
    "h": 135.5
  },
  "luminance": 0.17921
}

Semantic roles & 50–950 ramp

primary
#47841B
secondary
#8743B7
accent
#3FE9A2
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #47841B

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

Preview Lab → · Contrast checker → · Palette generator →

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