#4B802D#4B802D

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

Color values

HEX#4B802D
RGBrgb(75, 128, 45)
HSLhsl(98, 48%, 34%)
HSVhsv(98, 65%, 50%)
CMYKcmyk(41.4%, 0%, 64.8%, 49.8%)
CIE-LABlab(48.41, -33.29, 38.49)
CIE-LCHlch(48.41, 50.89, 130.86°)
OKLaboklab(54.41% -0.0923 0.0891)
OKLCHoklch(54.41% 0.128 136)
XYZxyz(11.0942, 17.1231, 5.2026)
Luminance0.1712 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B802D #622D80
analogous
#75802D #4B802D #2D8039
triadic
#4B802D #2D4B80 #802D4B
tetradic
#4B802D #2D7580 #622D80 #80392D
square
#4B802D #2D7580 #622D80 #80392D
split-complementary
#4B802D #392D80 #802D75
monochromatic
#16250D #30531D #4B802D #66AD3D #85C760

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B802D#FFFFFF#000000##FFFFFF
##4B802D1.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)
#847623
Deuteranopia (green-blind)
#7D7134
Tritanopia (blue-blind)
#497B6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4b802d;
/* rgb */ color: rgb(75, 128, 45);
/* oklch */ color: oklch(54.4% 0.128 136.0);
Tailwind
colors: {
  custom: {
    50: '#81a56a',
    500: '#4b802d',
    950: '#000000',
  },
}
SCSS
$custom: #4b802d;
$custom-light: #81a56a;
$custom-dark: #000000;
JSON
{
  "hex": "#4b802d",
  "rgb": {
    "r": 75,
    "g": 128,
    "b": 45
  },
  "hsl": {
    "h": 98.313,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.54406,
    "c": 0.12832,
    "h": 136
  },
  "luminance": 0.17124
}

Semantic roles & 50–950 ramp

primary
#4B802D
secondary
#905BAE
accent
#50D8A7
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #4B802D

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

Preview Lab → · Contrast checker → · Palette generator →

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