#49871F#49871F

#49871F is a mid, vivid yellow-green. Relative luminance 0.188; OKLCH L 56.1% C 0.149 H 135.7°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#49871F
RGBrgb(73, 135, 31)
HSLhsl(96, 63%, 33%)
HSVhsv(96, 77%, 53%)
CMYKcmyk(45.9%, 0%, 77%, 47.1%)
CIE-LABlab(50.50, -38.22, 46.45)
CIE-LCHlch(50.50, 60.15, 129.44°)
OKLaboklab(56.05% -0.1066 0.104)
OKLCHoklch(56.05% 0.149 135.7)
XYZxyz(11.6587, 18.8426, 4.3187)
Luminance0.1884 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#49871F #5D1F87
analogous
#7D871F #49871F #1F8729
triadic
#49871F #1F4987 #871F49
tetradic
#49871F #1F7D87 #5D1F87 #87291F
square
#49871F #1F7D87 #5D1F87 #87291F
split-complementary
#49871F #291F87 #871F7D
monochromatic
#132308 #2E5514 #49871F #64B92A #83D64B

Accessibility & contrast

On white

4.40
#49871F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#49871F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #49871F
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##49871F#FFFFFF#000000##000000
##49871F1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B08
Deuteranopia (green-blind)
#84762A
Tritanopia (blue-blind)
#478273
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #49871f;
/* rgb */ color: rgb(73, 135, 31);
/* oklch */ color: oklch(56.1% 0.149 135.7);
Tailwind
colors: {
  custom: {
    50: '#82aa63',
    500: '#49871f',
    950: '#000000',
  },
}
SCSS
$custom: #49871f;
$custom-light: #82aa63;
$custom-dark: #000000;
JSON
{
  "hex": "#49871f",
  "rgb": {
    "r": 73,
    "g": 135,
    "b": 31
  },
  "hsl": {
    "h": 95.769,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56054,
    "c": 0.14889,
    "h": 135.7
  },
  "luminance": 0.18843
}

Semantic roles & 50–950 ramp

primary
#49871F
secondary
#8C4AB8
accent
#42E6A4
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #49871F

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

Preview Lab → · Contrast checker → · Palette generator →

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