#4B8E17#4B8E17

#4B8E17 is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 58.0% C 0.161 H 135.4°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#4B8E17
RGBrgb(75, 142, 23)
HSLhsl(94, 72%, 32%)
HSVhsv(94, 84%, 56%)
CMYKcmyk(47.2%, 0%, 83.8%, 44.3%)
CIE-LABlab(52.84, -40.92, 51.26)
CIE-LCHlch(52.84, 65.59, 128.60°)
OKLaboklab(57.99% -0.1145 0.1128)
OKLCHoklch(57.99% 0.161 135.4)
XYZxyz(12.7290, 20.9029, 4.1744)
Luminance0.2090 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B8E17 #5A178E
analogous
#868E17 #4B8E17 #178E1F
triadic
#4B8E17 #174B8E #8E174B
tetradic
#4B8E17 #17868E #5A178E #8E1F17
square
#4B8E17 #17868E #5A178E #8E1F17
split-complementary
#4B8E17 #1F178E #8E1786
monochromatic
#132506 #2F590E #4B8E17 #67C320 #86E03F

Accessibility & contrast

On white

4.05
#4B8E17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#4B8E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B8E17
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B8E17#FFFFFF#000000##000000
##4B8E171.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#8B7C26
Tritanopia (blue-blind)
#498879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4b8e17;
/* rgb */ color: rgb(75, 142, 23);
/* oklch */ color: oklch(58.0% 0.161 135.4);
Tailwind
colors: {
  custom: {
    50: '#84af60',
    500: '#4b8e17',
    950: '#000000',
  },
}
SCSS
$custom: #4b8e17;
$custom-light: #84af60;
$custom-dark: #000000;
JSON
{
  "hex": "#4b8e17",
  "rgb": {
    "r": 75,
    "g": 142,
    "b": 23
  },
  "hsl": {
    "h": 93.782,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57988,
    "c": 0.1607,
    "h": 135.4
  },
  "luminance": 0.20904
}

Semantic roles & 50–950 ramp

primary
#4B8E17
secondary
#8840C0
accent
#39EF9F
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4B8E17

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

Preview Lab → · Contrast checker → · Palette generator →

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