#47841C#47841C

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

Color values

HEX#47841C
RGBrgb(71, 132, 28)
HSLhsl(95, 65%, 31%)
HSVhsv(95, 79%, 52%)
CMYKcmyk(46.2%, 0%, 78.8%, 48.2%)
CIE-LABlab(49.41, -37.82, 46.42)
CIE-LCHlch(49.41, 59.88, 129.17°)
OKLaboklab(55.12% -0.1056 0.1035)
OKLCHoklch(55.12% 0.148 135.6)
XYZxyz(11.0591, 17.9253, 3.9756)
Luminance0.1793 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47841C #591C84
analogous
#7B841C #47841C #1C8425
triadic
#47841C #1C4784 #841C47
tetradic
#47841C #1C7B84 #591C84 #84251C
square
#47841C #1C7B84 #591C84 #84251C
split-complementary
#47841C #251C84 #841C7B
monochromatic
#111F07 #2C5211 #47841C #62B627 #80D743

Accessibility & contrast

On white

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

On black

4.59
#47841C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #47841C
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47841C#FFFFFF#000000##000000
##47841C1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #47841c;
/* rgb */ color: rgb(71, 132, 28);
/* oklch */ color: oklch(55.1% 0.148 135.6);
Tailwind
colors: {
  custom: {
    50: '#80a861',
    500: '#47841c',
    950: '#000000',
  },
}
SCSS
$custom: #47841c;
$custom-light: #80a861;
$custom-dark: #000000;
JSON
{
  "hex": "#47841c",
  "rgb": {
    "r": 71,
    "g": 132,
    "b": 28
  },
  "hsl": {
    "h": 95.192,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55123,
    "c": 0.14783,
    "h": 135.6
  },
  "luminance": 0.17926
}

Semantic roles & 50–950 ramp

primary
#47841C
secondary
#8845B7
accent
#40E8A2
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #47841C

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

Preview Lab → · Contrast checker → · Palette generator →

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