#4B871A#4B871A

#4B871A is a mid, vivid yellow-green. Relative luminance 0.189; OKLCH L 56.1% C 0.151 H 134.8°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#4B871A
RGBrgb(75, 135, 26)
HSLhsl(93, 68%, 32%)
HSVhsv(93, 81%, 53%)
CMYKcmyk(44.4%, 0%, 80.7%, 47.1%)
CIE-LABlab(50.57, -37.84, 48.25)
CIE-LCHlch(50.57, 61.32, 128.10°)
OKLaboklab(56.12% -0.106 0.1069)
OKLCHoklch(56.12% 0.151 134.8)
XYZxyz(11.7518, 18.8977, 4.0055)
Luminance0.1890 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B871A #561A87
analogous
#82871A #4B871A #1A8720
triadic
#4B871A #1A4B87 #871A4B
tetradic
#4B871A #1A8287 #561A87 #87201A
square
#4B871A #1A8287 #561A87 #87201A
split-complementary
#4B871A #201A87 #871A82
monochromatic
#122006 #2E5410 #4B871A #68BA24 #86DA41

Accessibility & contrast

On white

4.39
#4B871A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#4B871A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B871A
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B871A#FFFFFF#000000##000000
##4B871A1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#847726
Tritanopia (blue-blind)
#4A8273
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4b871a;
/* rgb */ color: rgb(75, 135, 26);
/* oklch */ color: oklch(56.1% 0.151 134.8);
Tailwind
colors: {
  custom: {
    50: '#83aa60',
    500: '#4b871a',
    950: '#000000',
  },
}
SCSS
$custom: #4b871a;
$custom-light: #83aa60;
$custom-dark: #000000;
JSON
{
  "hex": "#4b871a",
  "rgb": {
    "r": 75,
    "g": 135,
    "b": 26
  },
  "hsl": {
    "h": 93.028,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56124,
    "c": 0.15058,
    "h": 134.8
  },
  "luminance": 0.18898
}

Semantic roles & 50–950 ramp

primary
#4B871A
secondary
#8442BA
accent
#3DEB9D
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #4B871A

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

Preview Lab → · Contrast checker → · Palette generator →

#4B871A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva