#4B802A#4B802A

#4B802A is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.4% C 0.131 H 135.5°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#4B802A
RGBrgb(75, 128, 42)
HSLhsl(97, 51%, 33%)
HSVhsv(97, 67%, 50%)
CMYKcmyk(41.4%, 0%, 67.2%, 49.8%)
CIE-LABlab(48.39, -33.58, 39.83)
CIE-LCHlch(48.39, 52.10, 130.14°)
OKLaboklab(54.37% -0.0933 0.0916)
OKLCHoklch(54.37% 0.131 135.5)
XYZxyz(11.0385, 17.1008, 4.9092)
Luminance0.1710 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B802A #5F2A80
analogous
#76802A #4B802A #2A8034
triadic
#4B802A #2A4B80 #802A4B
tetradic
#4B802A #2A7680 #5F2A80 #80342A
square
#4B802A #2A7680 #5F2A80 #80342A
split-complementary
#4B802A #342A80 #802A76
monochromatic
#15240C #30521B #4B802A #66AE39 #85C95B

Accessibility & contrast

On white

4.75
#4B802A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#4B802A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B802A
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B802A#FFFFFF#000000##FFFFFF
##4B802A1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85761F
Deuteranopia (green-blind)
#7D7131
Tritanopia (blue-blind)
#4A7B6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4b802a;
/* rgb */ color: rgb(75, 128, 42);
/* oklch */ color: oklch(54.4% 0.131 135.5);
Tailwind
colors: {
  custom: {
    50: '#82a568',
    500: '#4b802a',
    950: '#000000',
  },
}
SCSS
$custom: #4b802a;
$custom-light: #82a568;
$custom-dark: #000000;
JSON
{
  "hex": "#4b802a",
  "rgb": {
    "r": 75,
    "g": 128,
    "b": 42
  },
  "hsl": {
    "h": 96.977,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54374,
    "c": 0.13078,
    "h": 135.5
  },
  "luminance": 0.17101
}

Semantic roles & 50–950 ramp

primary
#4B802A
secondary
#8D57AF
accent
#4EDAA4
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4B802A

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

Preview Lab → · Contrast checker → · Palette generator →

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