#4B871D#4B871D

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

Color values

HEX#4B871D
RGBrgb(75, 135, 29)
HSLhsl(94, 65%, 32%)
HSVhsv(94, 79%, 53%)
CMYKcmyk(44.4%, 0%, 78.5%, 47.1%)
CIE-LABlab(50.58, -37.66, 47.27)
CIE-LCHlch(50.58, 60.44, 128.54°)
OKLaboklab(56.14% -0.1053 0.1053)
OKLCHoklch(56.14% 0.149 135)
XYZxyz(11.7871, 18.9118, 4.1914)
Luminance0.1891 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B871D #591D87
analogous
#80871D #4B871D #1D8724
triadic
#4B871D #1D4B87 #871D4B
tetradic
#4B871D #1D8087 #591D87 #87241D
square
#4B871D #1D8087 #591D87 #87241D
split-complementary
#4B871D #241D87 #871D80
monochromatic
#132207 #2F5512 #4B871D #67B928 #86D747

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B871D#FFFFFF#000000##000000
##4B871D1.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)
#8C7B03
Deuteranopia (green-blind)
#847728
Tritanopia (blue-blind)
#498273
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4b871d;
/* rgb */ color: rgb(75, 135, 29);
/* oklch */ color: oklch(56.1% 0.149 135.0);
Tailwind
colors: {
  custom: {
    50: '#83aa62',
    500: '#4b871d',
    950: '#000000',
  },
}
SCSS
$custom: #4b871d;
$custom-light: #83aa62;
$custom-dark: #000000;
JSON
{
  "hex": "#4b871d",
  "rgb": {
    "r": 75,
    "g": 135,
    "b": 29
  },
  "hsl": {
    "h": 93.962,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56143,
    "c": 0.14897,
    "h": 135
  },
  "luminance": 0.18913
}

Semantic roles & 50–950 ramp

primary
#4B871D
secondary
#8746B9
accent
#40E89F
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #4B871D

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

Preview Lab → · Contrast checker → · Palette generator →

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