#4B8A21#4B8A21

#4B8A21 is a mid, vivid yellow-green. Relative luminance 0.198; OKLCH L 57.0% C 0.150 H 135.7°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#4B8A21
RGBrgb(75, 138, 33)
HSLhsl(96, 61%, 34%)
HSVhsv(96, 76%, 54%)
CMYKcmyk(45.7%, 0%, 76.1%, 45.9%)
CIE-LABlab(51.59, -38.67, 46.82)
CIE-LCHlch(51.59, 60.73, 129.55°)
OKLaboklab(56.98% -0.1078 0.105)
OKLCHoklch(56.98% 0.151 135.7)
XYZxyz(12.2643, 19.7819, 4.6106)
Luminance0.1978 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B8A21 #60218A
analogous
#7F8A21 #4B8A21 #218A2B
triadic
#4B8A21 #214B8A #8A214B
tetradic
#4B8A21 #217F8A #60218A #8A2B21
square
#4B8A21 #217F8A #60218A #8A2B21
split-complementary
#4B8A21 #2B218A #8A217F
monochromatic
#152709 #305915 #4B8A21 #66BB2D #85D550

Accessibility & contrast

On white

4.24
#4B8A21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#4B8A21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B8A21
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B8A21#FFFFFF#000000##000000
##4B8A211.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E0B
Deuteranopia (green-blind)
#87792C
Tritanopia (blue-blind)
#498576
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4b8a21;
/* rgb */ color: rgb(75, 138, 33);
/* oklch */ color: oklch(57.0% 0.150 135.7);
Tailwind
colors: {
  custom: {
    50: '#83ad64',
    500: '#4b8a21',
    950: '#000000',
  },
}
SCSS
$custom: #4b8a21;
$custom-light: #83ad64;
$custom-dark: #000000;
JSON
{
  "hex": "#4b8a21",
  "rgb": {
    "r": 75,
    "g": 138,
    "b": 33
  },
  "hsl": {
    "h": 96,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56976,
    "c": 0.1505,
    "h": 135.7
  },
  "luminance": 0.19783
}

Semantic roles & 50–950 ramp

primary
#4B8A21
secondary
#8E4EB9
accent
#43E5A4
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4B8A21

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

Preview Lab → · Contrast checker → · Palette generator →

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