#4B802C#4B802C

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

Color values

HEX#4B802C
RGBrgb(75, 128, 44)
HSLhsl(98, 49%, 34%)
HSVhsv(98, 66%, 50%)
CMYKcmyk(41.4%, 0%, 65.6%, 49.8%)
CIE-LABlab(48.41, -33.39, 38.94)
CIE-LCHlch(48.41, 51.30, 130.62°)
OKLaboklab(54.4% -0.0926 0.09)
OKLCHoklch(54.4% 0.129 135.8)
XYZxyz(11.0752, 17.1155, 5.1024)
Luminance0.1712 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B802C #612C80
analogous
#75802C #4B802C #2C8037
triadic
#4B802C #2C4B80 #802C4B
tetradic
#4B802C #2C7580 #612C80 #80372C
square
#4B802C #2C7580 #612C80 #80372C
split-complementary
#4B802C #372C80 #802C75
monochromatic
#16250D #30521C #4B802C #66AE3C #85C85F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B802C#FFFFFF#000000##FFFFFF
##4B802C1.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)
#857622
Deuteranopia (green-blind)
#7D7133
Tritanopia (blue-blind)
#497B6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4b802c;
/* rgb */ color: rgb(75, 128, 44);
/* oklch */ color: oklch(54.4% 0.129 135.8);
Tailwind
colors: {
  custom: {
    50: '#81a569',
    500: '#4b802c',
    950: '#000000',
  },
}
SCSS
$custom: #4b802c;
$custom-light: #81a569;
$custom-dark: #000000;
JSON
{
  "hex": "#4b802c",
  "rgb": {
    "r": 75,
    "g": 128,
    "b": 44
  },
  "hsl": {
    "h": 97.857,
    "s": 48.837,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54395,
    "c": 0.12915,
    "h": 135.8
  },
  "luminance": 0.17116
}

Semantic roles & 50–950 ramp

primary
#4B802C
secondary
#8F5AAE
accent
#4FD8A6
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4B802C

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

Preview Lab → · Contrast checker → · Palette generator →

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