#4B8020#4B8020

#4B8020 is a mid, vivid yellow-green. Relative luminance 0.170; OKLCH L 54.3% C 0.138 H 134.3°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#4B8020
RGBrgb(75, 128, 32)
HSLhsl(93, 60%, 31%)
HSVhsv(93, 75%, 50%)
CMYKcmyk(41.4%, 0%, 75%, 49.8%)
CIE-LABlab(48.31, -34.41, 43.94)
CIE-LCHlch(48.31, 55.81, 128.06°)
OKLaboklab(54.28% -0.0963 0.0988)
OKLCHoklch(54.28% 0.138 134.3)
XYZxyz(10.8813, 17.0379, 4.0815)
Luminance0.1704 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B8020 #552080
analogous
#7B8020 #4B8020 #208025
triadic
#4B8020 #204B80 #80204B
tetradic
#4B8020 #207B80 #552080 #802520
square
#4B8020 #207B80 #552080 #802520
split-complementary
#4B8020 #252080 #80207B
monochromatic
#121E08 #2E4F14 #4B8020 #68B12C #86D149

Accessibility & contrast

On white

4.76
#4B8020 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#4B8020 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B8020
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B8020#FFFFFF#000000##FFFFFF
##4B80201.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85750E
Deuteranopia (green-blind)
#7E7129
Tritanopia (blue-blind)
#4A7B6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4b8020;
/* rgb */ color: rgb(75, 128, 32);
/* oklch */ color: oklch(54.3% 0.138 134.3);
Tailwind
colors: {
  custom: {
    50: '#82a562',
    500: '#4b8020',
    950: '#000000',
  },
}
SCSS
$custom: #4b8020;
$custom-light: #82a562;
$custom-dark: #000000;
JSON
{
  "hex": "#4b8020",
  "rgb": {
    "r": 75,
    "g": 128,
    "b": 32
  },
  "hsl": {
    "h": 93.125,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54284,
    "c": 0.13802,
    "h": 134.3
  },
  "luminance": 0.17038
}

Semantic roles & 50–950 ramp

primary
#4B8020
secondary
#8349B3
accent
#45E39C
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4B8020

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

Preview Lab → · Contrast checker → · Palette generator →

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