#4B8728#4B8728

#4B8728 is a mid, vivid yellow-green. Relative luminance 0.190; OKLCH L 56.2% C 0.142 H 136.2°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#4B8728
RGBrgb(75, 135, 40)
HSLhsl(98, 54%, 34%)
HSVhsv(98, 70%, 53%)
CMYKcmyk(44.4%, 0%, 70.4%, 47.1%)
CIE-LABlab(50.66, -36.85, 43.12)
CIE-LCHlch(50.66, 56.72, 130.52°)
OKLaboklab(56.23% -0.1024 0.0983)
OKLCHoklch(56.23% 0.142 136.2)
XYZxyz(11.9483, 18.9763, 5.0403)
Luminance0.1898 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B8728 #642887
analogous
#7B8728 #4B8728 #288735
triadic
#4B8728 #284B87 #87284B
tetradic
#4B8728 #287B87 #642887 #873528
square
#4B8728 #287B87 #642887 #873528
split-complementary
#4B8728 #352887 #87287B
monochromatic
#17290C #31581A #4B8728 #65B636 #86CE5B

Accessibility & contrast

On white

4.38
#4B8728 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#4B8728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B8728
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B8728#FFFFFF#000000##000000
##4B87281.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C1A
Deuteranopia (green-blind)
#847730
Tritanopia (blue-blind)
#498274
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4b8728;
/* rgb */ color: rgb(75, 135, 40);
/* oklch */ color: oklch(56.2% 0.142 136.2);
Tailwind
colors: {
  custom: {
    50: '#82aa67',
    500: '#4b8728',
    950: '#000000',
  },
}
SCSS
$custom: #4b8728;
$custom-light: #82aa67;
$custom-dark: #000000;
JSON
{
  "hex": "#4b8728",
  "rgb": {
    "r": 75,
    "g": 135,
    "b": 40
  },
  "hsl": {
    "h": 97.895,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56229,
    "c": 0.1419,
    "h": 136.2
  },
  "luminance": 0.18977
}

Semantic roles & 50–950 ramp

primary
#4B8728
secondary
#9257B4
accent
#4ADEA7
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4B8728

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

Preview Lab → · Contrast checker → · Palette generator →

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