#4F8E17#4F8E17

#4F8E17 is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.2% C 0.159 H 134.5°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4F8E17
RGBrgb(79, 142, 23)
HSLhsl(92, 72%, 32%)
HSVhsv(92, 84%, 56%)
CMYKcmyk(44.4%, 0%, 83.8%, 44.3%)
CIE-LABlab(53.03, -39.57, 51.49)
CIE-LCHlch(53.03, 64.94, 127.54°)
OKLaboklab(58.19% -0.1111 0.1132)
OKLCHoklch(58.19% 0.159 134.5)
XYZxyz(13.0518, 21.0694, 4.1895)
Luminance0.2107 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8E17 #56178E
analogous
#8A8E17 #4F8E17 #178E1B
triadic
#4F8E17 #174F8E #8E174F
tetradic
#4F8E17 #178A8E #56178E #8E1B17
square
#4F8E17 #178A8E #56178E #8E1B17
split-complementary
#4F8E17 #1B178E #8E178A
monochromatic
#142506 #32590E #4F8E17 #6CC320 #8BE03F

Accessibility & contrast

On white

4.03
#4F8E17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#4F8E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8E17
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8E17#FFFFFF#000000##000000
##4F8E171.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8B7D26
Tritanopia (blue-blind)
#4E8879
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4f8e17;
/* rgb */ color: rgb(79, 142, 23);
/* oklch */ color: oklch(58.2% 0.159 134.5);
Tailwind
colors: {
  custom: {
    50: '#87af60',
    500: '#4f8e17',
    950: '#000000',
  },
}
SCSS
$custom: #4f8e17;
$custom-light: #87af60;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8e17",
  "rgb": {
    "r": 79,
    "g": 142,
    "b": 23
  },
  "hsl": {
    "h": 91.765,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58187,
    "c": 0.1586,
    "h": 134.5
  },
  "luminance": 0.2107
}

Semantic roles & 50–950 ramp

primary
#4F8E17
secondary
#8440C0
accent
#39EF99
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4F8E17

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

Preview Lab → · Contrast checker → · Palette generator →

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