#49871A#49871A

#49871A is a mid, vivid yellow-green. Relative luminance 0.188; OKLCH L 56.0% C 0.152 H 135.3°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#49871A
RGBrgb(73, 135, 26)
HSLhsl(94, 68%, 32%)
HSVhsv(94, 81%, 53%)
CMYKcmyk(45.9%, 0%, 80.7%, 47.1%)
CIE-LABlab(50.47, -38.53, 48.13)
CIE-LCHlch(50.47, 61.65, 128.67°)
OKLaboklab(56.02% -0.1077 0.1067)
OKLCHoklch(56.02% 0.152 135.3)
XYZxyz(11.5978, 18.8183, 3.9983)
Luminance0.1882 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49871A #581A87
analogous
#80871A #49871A #1A8721
triadic
#49871A #1A4987 #871A49
tetradic
#49871A #1A8087 #581A87 #87211A
square
#49871A #1A8087 #581A87 #87211A
split-complementary
#49871A #211A87 #871A80
monochromatic
#122006 #2D5410 #49871A #65BA24 #83DA41

Accessibility & contrast

On white

4.41
#49871A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#49871A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #49871A
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49871A#FFFFFF#000000##000000
##49871A1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#847626
Tritanopia (blue-blind)
#478273
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #49871a;
/* rgb */ color: rgb(73, 135, 26);
/* oklch */ color: oklch(56.0% 0.152 135.3);
Tailwind
colors: {
  custom: {
    50: '#82aa60',
    500: '#49871a',
    950: '#000000',
  },
}
SCSS
$custom: #49871a;
$custom-light: #82aa60;
$custom-dark: #000000;
JSON
{
  "hex": "#49871a",
  "rgb": {
    "r": 73,
    "g": 135,
    "b": 26
  },
  "hsl": {
    "h": 94.128,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56022,
    "c": 0.15164,
    "h": 135.3
  },
  "luminance": 0.18819
}

Semantic roles & 50–950 ramp

primary
#49871A
secondary
#8742BA
accent
#3DEBA0
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #49871A

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

Preview Lab → · Contrast checker → · Palette generator →

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