#4B821D#4B821D

#4B821D is a mid, vivid yellow-green. Relative luminance 0.175; OKLCH L 54.8% C 0.143 H 134.3°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#4B821D
RGBrgb(75, 130, 29)
HSLhsl(93, 64%, 31%)
HSVhsv(93, 78%, 51%)
CMYKcmyk(42.3%, 0%, 77.7%, 49%)
CIE-LABlab(48.94, -35.49, 45.69)
CIE-LCHlch(48.94, 57.85, 127.84°)
OKLaboklab(54.8% -0.0995 0.102)
OKLCHoklch(54.8% 0.143 134.3)
XYZxyz(11.1058, 17.5492, 3.9643)
Luminance0.1755 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B821D #541D82
analogous
#7D821D #4B821D #1D8221
triadic
#4B821D #1D4B82 #821D4B
tetradic
#4B821D #1D7D82 #541D82 #82211D
square
#4B821D #1D7D82 #541D82 #82211D
split-complementary
#4B821D #211D82 #821D7D
monochromatic
#111E07 #2E5012 #4B821D #68B428 #86D544

Accessibility & contrast

On white

4.66
#4B821D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#4B821D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4B821D
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B821D#FFFFFF#000000##FFFFFF
##4B821D1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877706
Deuteranopia (green-blind)
#807327
Tritanopia (blue-blind)
#4A7D6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4b821d;
/* rgb */ color: rgb(75, 130, 29);
/* oklch */ color: oklch(54.8% 0.143 134.3);
Tailwind
colors: {
  custom: {
    50: '#82a761',
    500: '#4b821d',
    950: '#000000',
  },
}
SCSS
$custom: #4b821d;
$custom-light: #82a761;
$custom-dark: #000000;
JSON
{
  "hex": "#4b821d",
  "rgb": {
    "r": 75,
    "g": 130,
    "b": 29
  },
  "hsl": {
    "h": 92.673,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54799,
    "c": 0.14251,
    "h": 134.3
  },
  "luminance": 0.1755
}

Semantic roles & 50–950 ramp

primary
#4B821D
secondary
#8246B5
accent
#41E79B
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4B821D

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

Preview Lab → · Contrast checker → · Palette generator →

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