#4B802F#4B802F

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

Color values

HEX#4B802F
RGBrgb(75, 128, 47)
HSLhsl(99, 46%, 34%)
HSVhsv(99, 63%, 50%)
CMYKcmyk(41.4%, 0%, 63.3%, 49.8%)
CIE-LABlab(48.43, -33.09, 37.57)
CIE-LCHlch(48.43, 50.06, 131.38°)
OKLaboklab(54.43% -0.0916 0.0874)
OKLCHoklch(54.43% 0.127 136.3)
XYZxyz(11.1336, 17.1388, 5.4103)
Luminance0.1714 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B802F #642F80
analogous
#74802F #4B802F #2F803B
triadic
#4B802F #2F4B80 #802F4B
tetradic
#4B802F #2F7480 #642F80 #803B2F
square
#4B802F #2F7480 #642F80 #803B2F
split-complementary
#4B802F #3B2F80 #802F74
monochromatic
#17260E #31531F #4B802F #65AD3F #86C663

Accessibility & contrast

On white

4.74
#4B802F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#4B802F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B802F
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B802F#FFFFFF#000000##FFFFFF
##4B802F1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847626
Deuteranopia (green-blind)
#7D7135
Tritanopia (blue-blind)
#497B6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4b802f;
/* rgb */ color: rgb(75, 128, 47);
/* oklch */ color: oklch(54.4% 0.127 136.3);
Tailwind
colors: {
  custom: {
    50: '#81a56b',
    500: '#4b802f',
    950: '#000000',
  },
}
SCSS
$custom: #4b802f;
$custom-light: #81a56b;
$custom-dark: #000000;
JSON
{
  "hex": "#4b802f",
  "rgb": {
    "r": 75,
    "g": 128,
    "b": 47
  },
  "hsl": {
    "h": 99.259,
    "s": 46.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54428,
    "c": 0.12662,
    "h": 136.3
  },
  "luminance": 0.17139
}

Semantic roles & 50–950 ramp

primary
#4B802F
secondary
#925EAD
accent
#52D6A8
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #4B802F

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

Preview Lab → · Contrast checker → · Palette generator →

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