#4B8722#4B8722

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

Color values

HEX#4B8722
RGBrgb(75, 135, 34)
HSLhsl(96, 60%, 33%)
HSVhsv(96, 75%, 53%)
CMYKcmyk(44.4%, 0%, 74.8%, 47.1%)
CIE-LABlab(50.62, -37.32, 45.48)
CIE-LCHlch(50.62, 58.83, 129.37°)
OKLaboklab(56.18% -0.1041 0.1024)
OKLCHoklch(56.18% 0.146 135.5)
XYZxyz(11.8541, 18.9386, 4.5440)
Luminance0.1894 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B8722 #5E2287
analogous
#7D8722 #4B8722 #22872C
triadic
#4B8722 #224B87 #87224B
tetradic
#4B8722 #227D87 #5E2287 #872C22
square
#4B8722 #227D87 #5E2287 #872C22
split-complementary
#4B8722 #2C2287 #87227D
monochromatic
#152509 #305616 #4B8722 #66B82E #85D350

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B8722#FFFFFF#000000##000000
##4B87221.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)
#8C7C0F
Deuteranopia (green-blind)
#84772C
Tritanopia (blue-blind)
#498273
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4b8722;
/* rgb */ color: rgb(75, 135, 34);
/* oklch */ color: oklch(56.2% 0.146 135.5);
Tailwind
colors: {
  custom: {
    50: '#83aa64',
    500: '#4b8722',
    950: '#000000',
  },
}
SCSS
$custom: #4b8722;
$custom-light: #83aa64;
$custom-dark: #000000;
JSON
{
  "hex": "#4b8722",
  "rgb": {
    "r": 75,
    "g": 135,
    "b": 34
  },
  "hsl": {
    "h": 95.644,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56178,
    "c": 0.14598,
    "h": 135.5
  },
  "luminance": 0.18939
}

Semantic roles & 50–950 ramp

primary
#4B8722
secondary
#8C4EB7
accent
#45E3A3
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4B8722

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

Preview Lab → · Contrast checker → · Palette generator →

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