#4B9917#4B9917

#4B9917 is a mid, vivid yellow-green. Relative luminance 0.243; OKLCH L 60.9% C 0.174 H 136.6°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#4B9917
RGBrgb(75, 153, 23)
HSLhsl(96, 74%, 35%)
HSVhsv(96, 85%, 60%)
CMYKcmyk(51%, 0%, 85%, 40%)
CIE-LABlab(56.43, -45.34, 54.48)
CIE-LCHlch(56.43, 70.88, 129.77°)
OKLaboklab(60.93% -0.1263 0.1196)
OKLCHoklch(60.93% 0.174 136.6)
XYZxyz(14.4471, 24.3392, 4.7471)
Luminance0.2434 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B9917 #651799
analogous
#8C9917 #4B9917 #179924
triadic
#4B9917 #174B99 #99174B
tetradic
#4B9917 #178C99 #651799 #992417
square
#4B9917 #178C99 #651799 #992417
split-complementary
#4B9917 #241799 #99178C
monochromatic
#172F07 #31640F #4B9917 #65CE1F #86E347

Accessibility & contrast

On white

3.58
#4B9917 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#4B9917 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B9917
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B9917#FFFFFF#000000##000000
##4B99171.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#948528
Tritanopia (blue-blind)
#479382
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4b9917;
/* rgb */ color: rgb(75, 153, 23);
/* oklch */ color: oklch(60.9% 0.174 136.6);
Tailwind
colors: {
  custom: {
    50: '#86b862',
    500: '#4b9917',
    950: '#000000',
  },
}
SCSS
$custom: #4b9917;
$custom-light: #86b862;
$custom-dark: #000000;
JSON
{
  "hex": "#4b9917",
  "rgb": {
    "r": 75,
    "g": 153,
    "b": 23
  },
  "hsl": {
    "h": 96,
    "s": 73.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.60935,
    "c": 0.17393,
    "h": 136.6
  },
  "luminance": 0.2434
}

Semantic roles & 50–950 ramp

primary
#4B9917
secondary
#9247C5
accent
#37F1A6
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4B9917

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

Preview Lab → · Contrast checker → · Palette generator →

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