#47891B#47891B

#47891B is a mid, vivid yellow-green. Relative luminance 0.193; OKLCH L 56.5% C 0.155 H 136.1°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#47891B
RGBrgb(71, 137, 27)
HSLhsl(96, 67%, 32%)
HSVhsv(96, 80%, 54%)
CMYKcmyk(48.2%, 0%, 80.3%, 46.3%)
CIE-LABlab(51.05, -39.98, 48.32)
CIE-LCHlch(51.05, 62.71, 129.60°)
OKLaboklab(56.47% -0.1114 0.1073)
OKLCHoklch(56.47% 0.155 136.1)
XYZxyz(11.7417, 19.3093, 4.1451)
Luminance0.1931 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47891B #5D1B89
analogous
#7E891B #47891B #1B8926
triadic
#47891B #1B4789 #891B47
tetradic
#47891B #1B7E89 #5D1B89 #89261B
square
#47891B #1B7E89 #5D1B89 #89261B
split-complementary
#47891B #261B89 #891B7E
monochromatic
#122307 #2D5611 #47891B #61BC25 #80DA44

Accessibility & contrast

On white

4.32
#47891B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#47891B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #47891B
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47891B#FFFFFF#000000##000000
##47891B1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#857827
Tritanopia (blue-blind)
#448475
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #47891b;
/* rgb */ color: rgb(71, 137, 27);
/* oklch */ color: oklch(56.5% 0.155 136.1);
Tailwind
colors: {
  custom: {
    50: '#81ac61',
    500: '#47891b',
    950: '#000000',
  },
}
SCSS
$custom: #47891b;
$custom-light: #81ac61;
$custom-dark: #000000;
JSON
{
  "hex": "#47891b",
  "rgb": {
    "r": 71,
    "g": 137,
    "b": 27
  },
  "hsl": {
    "h": 96,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5647,
    "c": 0.15469,
    "h": 136.1
  },
  "luminance": 0.1931
}

Semantic roles & 50–950 ramp

primary
#47891B
secondary
#8C44BC
accent
#3EEAA5
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #47891B

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

Preview Lab → · Contrast checker → · Palette generator →

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