#4B821E#4B821E

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

Color values

HEX#4B821E
RGBrgb(75, 130, 30)
HSLhsl(93, 63%, 31%)
HSVhsv(93, 77%, 51%)
CMYKcmyk(42.3%, 0%, 76.9%, 49%)
CIE-LABlab(48.95, -35.43, 45.33)
CIE-LCHlch(48.95, 57.53, 128.01°)
OKLaboklab(54.81% -0.0992 0.1014)
OKLCHoklch(54.81% 0.142 134.4)
XYZxyz(11.1184, 17.5543, 4.0305)
Luminance0.1756 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B821E #551E82
analogous
#7D821E #4B821E #1E8223
triadic
#4B821E #1E4B82 #821E4B
tetradic
#4B821E #1E7D82 #551E82 #82231E
square
#4B821E #1E7D82 #551E82 #82231E
split-complementary
#4B821E #231E82 #821E7D
monochromatic
#121F07 #2E5013 #4B821E #68B429 #86D446

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B821E#FFFFFF#000000##FFFFFF
##4B821E1.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)
#877709
Deuteranopia (green-blind)
#807328
Tritanopia (blue-blind)
#4A7D6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4b821e;
/* rgb */ color: rgb(75, 130, 30);
/* oklch */ color: oklch(54.8% 0.142 134.4);
Tailwind
colors: {
  custom: {
    50: '#82a762',
    500: '#4b821e',
    950: '#000000',
  },
}
SCSS
$custom: #4b821e;
$custom-light: #82a762;
$custom-dark: #000000;
JSON
{
  "hex": "#4b821e",
  "rgb": {
    "r": 75,
    "g": 130,
    "b": 30
  },
  "hsl": {
    "h": 93,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54806,
    "c": 0.14191,
    "h": 134.4
  },
  "luminance": 0.17555
}

Semantic roles & 50–950 ramp

primary
#4B821E
secondary
#8347B5
accent
#42E69C
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4B821E

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

Preview Lab → · Contrast checker → · Palette generator →

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