#4B8015#4B8015

#4B8015 is a mid, vivid yellow-green. Relative luminance 0.170; OKLCH L 54.2% C 0.144 H 133.3°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#4B8015
RGBrgb(75, 128, 21)
HSLhsl(90, 72%, 29%)
HSVhsv(90, 84%, 50%)
CMYKcmyk(41.4%, 0%, 83.6%, 49.8%)
CIE-LABlab(48.24, -35.07, 47.65)
CIE-LCHlch(48.24, 59.17, 126.35°)
OKLaboklab(54.21% -0.0989 0.1049)
OKLCHoklch(54.21% 0.144 133.3)
XYZxyz(10.7560, 16.9878, 3.4216)
Luminance0.1699 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B8015 #4A1580
analogous
#808015 #4B8015 #158015
triadic
#4B8015 #154B80 #80154B
tetradic
#4B8015 #158080 #4A1580 #801515
square
#4B8015 #158080 #4A1580 #801515
split-complementary
#4B8015 #151580 #801580
monochromatic
#0F1A04 #2C4B0C #4B8015 #6AB51E #89DD32

Accessibility & contrast

On white

4.78
#4B8015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#4B8015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B8015
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B8015#FFFFFF#000000##FFFFFF
##4B80151.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7E7122
Tritanopia (blue-blind)
#4B7B6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4b8015;
/* rgb */ color: rgb(75, 128, 21);
/* oklch */ color: oklch(54.2% 0.144 133.3);
Tailwind
colors: {
  custom: {
    50: '#83a55d',
    500: '#4b8015',
    950: '#000000',
  },
}
SCSS
$custom: #4b8015;
$custom-light: #83a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#4b8015",
  "rgb": {
    "r": 75,
    "g": 128,
    "b": 21
  },
  "hsl": {
    "h": 89.72,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.54212,
    "c": 0.14415,
    "h": 133.3
  },
  "luminance": 0.16988
}

Semantic roles & 50–950 ramp

primary
#4B8015
secondary
#783CB5
accent
#39EF93
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4B8015

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

Preview Lab → · Contrast checker → · Palette generator →

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