#4F9617#4F9617

#4F9617 is a mid, vivid yellow-green. Relative luminance 0.235; OKLCH L 60.3% C 0.168 H 135.4°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#4F9617
RGBrgb(79, 150, 23)
HSLhsl(94, 73%, 34%)
HSVhsv(94, 85%, 59%)
CMYKcmyk(47.3%, 0%, 84.7%, 41.2%)
CIE-LABlab(55.62, -42.87, 53.82)
CIE-LCHlch(55.62, 68.81, 128.54°)
OKLaboklab(60.32% -0.12 0.1181)
OKLCHoklch(60.32% 0.168 135.4)
XYZxyz(14.2851, 23.5359, 4.6006)
Luminance0.2354 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F9617 #5E1796
analogous
#8F9617 #4F9617 #17961F
triadic
#4F9617 #174F96 #96174F
tetradic
#4F9617 #178F96 #5E1796 #961F17
square
#4F9617 #178F96 #5E1796 #961F17
split-complementary
#4F9617 #1F1796 #96178F
monochromatic
#172C07 #33610F #4F9617 #6BCB1F #8AE245

Accessibility & contrast

On white

3.68
#4F9617 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#4F9617 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F9617
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F9617#FFFFFF#000000##000000
##4F96171.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#928327
Tritanopia (blue-blind)
#4C907F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #4f9617;
/* rgb */ color: rgb(79, 150, 23);
/* oklch */ color: oklch(60.3% 0.168 135.4);
Tailwind
colors: {
  custom: {
    50: '#88b562',
    500: '#4f9617',
    950: '#000000',
  },
}
SCSS
$custom: #4f9617;
$custom-light: #88b562;
$custom-dark: #000000;
JSON
{
  "hex": "#4f9617",
  "rgb": {
    "r": 79,
    "g": 150,
    "b": 23
  },
  "hsl": {
    "h": 93.543,
    "s": 73.41,
    "l": 33.922
  },
  "oklch": {
    "l": 0.60318,
    "c": 0.16834,
    "h": 135.4
  },
  "luminance": 0.23537
}

Semantic roles & 50–950 ramp

primary
#4F9617
secondary
#8C45C3
accent
#38F09F
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4F9617

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

Preview Lab → · Contrast checker → · Palette generator →

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