#4B8D21#4B8D21

#4B8D21 is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 57.8% C 0.154 H 136.1°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#4B8D21
RGBrgb(75, 141, 33)
HSLhsl(97, 62%, 34%)
HSVhsv(97, 77%, 55%)
CMYKcmyk(46.8%, 0%, 76.6%, 44.7%)
CIE-LABlab(52.57, -39.93, 47.79)
CIE-LCHlch(52.57, 62.28, 129.88°)
OKLaboklab(57.78% -0.1112 0.107)
OKLCHoklch(57.78% 0.154 136.1)
XYZxyz(12.7007, 20.6546, 4.7561)
Luminance0.2066 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B8D21 #63218D
analogous
#818D21 #4B8D21 #218D2D
triadic
#4B8D21 #214B8D #8D214B
tetradic
#4B8D21 #21818D #63218D #8D2D21
square
#4B8D21 #21818D #63218D #8D2D21
split-complementary
#4B8D21 #2D218D #8D2181
monochromatic
#162A0A #315B15 #4B8D21 #65BF2D #85D652

Accessibility & contrast

On white

4.09
#4B8D21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#4B8D21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B8D21
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B8D21#FFFFFF#000000##000000
##4B8D211.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810A
Deuteranopia (green-blind)
#897B2C
Tritanopia (blue-blind)
#488878
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4b8d21;
/* rgb */ color: rgb(75, 141, 33);
/* oklch */ color: oklch(57.8% 0.154 136.1);
Tailwind
colors: {
  custom: {
    50: '#84af64',
    500: '#4b8d21',
    950: '#000000',
  },
}
SCSS
$custom: #4b8d21;
$custom-light: #84af64;
$custom-dark: #000000;
JSON
{
  "hex": "#4b8d21",
  "rgb": {
    "r": 75,
    "g": 141,
    "b": 33
  },
  "hsl": {
    "h": 96.667,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.5778,
    "c": 0.15435,
    "h": 136.1
  },
  "luminance": 0.20655
}

Semantic roles & 50–950 ramp

primary
#4B8D21
secondary
#9150BA
accent
#43E5A6
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4B8D21

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

Preview Lab → · Contrast checker → · Palette generator →

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