#4F9917#4F9917

#4F9917 is a mid, vivid yellow-green. Relative luminance 0.245; OKLCH L 61.1% C 0.172 H 135.8°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#4F9917
RGBrgb(79, 153, 23)
HSLhsl(94, 74%, 35%)
HSVhsv(94, 85%, 60%)
CMYKcmyk(48.4%, 0%, 85%, 40%)
CIE-LABlab(56.59, -44.08, 54.69)
CIE-LCHlch(56.59, 70.24, 128.87°)
OKLaboklab(61.12% -0.1232 0.1199)
OKLCHoklch(61.12% 0.172 135.8)
XYZxyz(14.7700, 24.5056, 4.7622)
Luminance0.2451 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F9917 #611799
analogous
#909917 #4F9917 #179920
triadic
#4F9917 #174F99 #99174F
tetradic
#4F9917 #179099 #611799 #992017
square
#4F9917 #179099 #611799 #992017
split-complementary
#4F9917 #201799 #991790
monochromatic
#182F07 #34640F #4F9917 #6ACE1F #8AE347

Accessibility & contrast

On white

3.56
#4F9917 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#4F9917 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F9917
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F9917#FFFFFF#000000##000000
##4F99171.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#958628
Tritanopia (blue-blind)
#4C9382
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #4f9917;
/* rgb */ color: rgb(79, 153, 23);
/* oklch */ color: oklch(61.1% 0.172 135.8);
Tailwind
colors: {
  custom: {
    50: '#88b862',
    500: '#4f9917',
    950: '#000000',
  },
}
SCSS
$custom: #4f9917;
$custom-light: #88b862;
$custom-dark: #000000;
JSON
{
  "hex": "#4f9917",
  "rgb": {
    "r": 79,
    "g": 153,
    "b": 23
  },
  "hsl": {
    "h": 94.154,
    "s": 73.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.61116,
    "c": 0.17193,
    "h": 135.8
  },
  "luminance": 0.24507
}

Semantic roles & 50–950 ramp

primary
#4F9917
secondary
#8F47C5
accent
#37F1A1
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4F9917

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

Preview Lab → · Contrast checker → · Palette generator →

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