#4B8720#4B8720

#4B8720 is a mid, vivid yellow-green. Relative luminance 0.189; OKLCH L 56.2% C 0.147 H 135.3°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#4B8720
RGBrgb(75, 135, 32)
HSLhsl(95, 62%, 33%)
HSVhsv(95, 76%, 53%)
CMYKcmyk(44.4%, 0%, 76.3%, 47.1%)
CIE-LABlab(50.60, -37.46, 46.22)
CIE-LCHlch(50.60, 59.49, 129.03°)
OKLaboklab(56.16% -0.1046 0.1036)
OKLCHoklch(56.16% 0.147 135.3)
XYZxyz(11.8261, 18.9274, 4.3964)
Luminance0.1893 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B8720 #5C2087
analogous
#7F8720 #4B8720 #208728
triadic
#4B8720 #204B87 #87204B
tetradic
#4B8720 #207F87 #5C2087 #872820
square
#4B8720 #207F87 #5C2087 #872820
split-complementary
#4B8720 #282087 #87207F
monochromatic
#142409 #305614 #4B8720 #66B82C #85D54D

Accessibility & contrast

On white

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

On black

4.79
#4B8720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B8720
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B8720#FFFFFF#000000##000000
##4B87201.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C0B
Deuteranopia (green-blind)
#84772A
Tritanopia (blue-blind)
#498273
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4b8720;
/* rgb */ color: rgb(75, 135, 32);
/* oklch */ color: oklch(56.2% 0.147 135.3);
Tailwind
colors: {
  custom: {
    50: '#83aa63',
    500: '#4b8720',
    950: '#000000',
  },
}
SCSS
$custom: #4b8720;
$custom-light: #83aa63;
$custom-dark: #000000;
JSON
{
  "hex": "#4b8720",
  "rgb": {
    "r": 75,
    "g": 135,
    "b": 32
  },
  "hsl": {
    "h": 94.951,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56164,
    "c": 0.14723,
    "h": 135.3
  },
  "luminance": 0.18928
}

Semantic roles & 50–950 ramp

primary
#4B8720
secondary
#8A4BB8
accent
#43E5A1
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4B8720

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

Preview Lab → · Contrast checker → · Palette generator →

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