#47891F#47891F

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

Color values

HEX#47891F
RGBrgb(71, 137, 31)
HSLhsl(97, 63%, 33%)
HSVhsv(97, 77%, 54%)
CMYKcmyk(48.2%, 0%, 77.4%, 46.3%)
CIE-LABlab(51.07, -39.73, 46.98)
CIE-LCHlch(51.07, 61.52, 130.22°)
OKLaboklab(56.5% -0.1105 0.1051)
OKLCHoklch(56.5% 0.153 136.4)
XYZxyz(11.7912, 19.3291, 4.4056)
Luminance0.1933 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47891F #611F89
analogous
#7C891F #47891F #1F892C
triadic
#47891F #1F4789 #891F47
tetradic
#47891F #1F7C89 #611F89 #892C1F
square
#47891F #1F7C89 #611F89 #892C1F
split-complementary
#47891F #2C1F89 #891F7C
monochromatic
#132508 #2D5714 #47891F #61BB2A #80D64C

Accessibility & contrast

On white

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

On black

4.87
#47891F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #47891F
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47891F#FFFFFF#000000##000000
##47891F1.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D07
Deuteranopia (green-blind)
#85782A
Tritanopia (blue-blind)
#448475
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #47891f;
/* rgb */ color: rgb(71, 137, 31);
/* oklch */ color: oklch(56.5% 0.153 136.4);
Tailwind
colors: {
  custom: {
    50: '#81ac63',
    500: '#47891f',
    950: '#000000',
  },
}
SCSS
$custom: #47891f;
$custom-light: #81ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#47891f",
  "rgb": {
    "r": 71,
    "g": 137,
    "b": 31
  },
  "hsl": {
    "h": 97.358,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56496,
    "c": 0.15251,
    "h": 136.4
  },
  "luminance": 0.1933
}

Semantic roles & 50–950 ramp

primary
#47891F
secondary
#8F4BB9
accent
#42E6A8
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #47891F

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

Preview Lab → · Contrast checker → · Palette generator →

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