#4F9818#4F9818

#4F9818 is a mid, vivid yellow-green. Relative luminance 0.242; OKLCH L 60.9% C 0.170 H 135.7°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#4F9818
RGBrgb(79, 152, 24)
HSLhsl(94, 73%, 35%)
HSVhsv(94, 84%, 60%)
CMYKcmyk(48%, 0%, 84.2%, 40.4%)
CIE-LABlab(56.27, -43.63, 54.14)
CIE-LCHlch(56.27, 69.53, 128.86°)
OKLaboklab(60.86% -0.1219 0.1189)
OKLCHoklch(60.86% 0.17 135.7)
XYZxyz(14.6172, 24.1837, 4.7617)
Luminance0.2419 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F9818 #611898
analogous
#8F9818 #4F9818 #189821
triadic
#4F9818 #184F98 #98184F
tetradic
#4F9818 #188F98 #611898 #982118
square
#4F9818 #188F98 #611898 #982118
split-complementary
#4F9818 #211898 #98188F
monochromatic
#182E07 #346310 #4F9818 #6ACD20 #8AE248

Accessibility & contrast

On white

3.60
#4F9818 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#4F9818 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F9818
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F9818#FFFFFF#000000##000000
##4F98181.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f9818;
/* rgb */ color: rgb(79, 152, 24);
/* oklch */ color: oklch(60.9% 0.170 135.7);
Tailwind
colors: {
  custom: {
    50: '#88b762',
    500: '#4f9818',
    950: '#000000',
  },
}
SCSS
$custom: #4f9818;
$custom-light: #88b762;
$custom-dark: #000000;
JSON
{
  "hex": "#4f9818",
  "rgb": {
    "r": 79,
    "g": 152,
    "b": 24
  },
  "hsl": {
    "h": 94.219,
    "s": 72.727,
    "l": 34.51
  },
  "oklch": {
    "l": 0.60855,
    "c": 0.17033,
    "h": 135.7
  },
  "luminance": 0.24185
}

Semantic roles & 50–950 ramp

primary
#4F9818
secondary
#8F48C4
accent
#38EFA1
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4F9818

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

Preview Lab → · Contrast checker → · Palette generator →

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