#4F9826#4F9826

#4F9826 is a mid, vivid yellow-green. Relative luminance 0.243; OKLCH L 60.9% C 0.163 H 136.8°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#4F9826
RGBrgb(79, 152, 38)
HSLhsl(98, 60%, 37%)
HSVhsv(98, 75%, 60%)
CMYKcmyk(48%, 0%, 75%, 40.4%)
CIE-LABlab(56.34, -42.82, 49.76)
CIE-LCHlch(56.34, 65.65, 130.72°)
OKLaboklab(60.94% -0.1189 0.1118)
OKLCHoklch(60.94% 0.163 136.8)
XYZxyz(14.8021, 24.2577, 5.7356)
Luminance0.2426 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F9826 #6F2698
analogous
#889826 #4F9826 #269836
triadic
#4F9826 #264F98 #98264F
tetradic
#4F9826 #268898 #6F2698 #983626
square
#4F9826 #268898 #6F2698 #983626
split-complementary
#4F9826 #362698 #982688
monochromatic
#1C360E #36671A #4F9826 #68C932 #8CD761

Accessibility & contrast

On white

3.59
#4F9826 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#4F9826 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F9826
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F9826#FFFFFF#000000##000000
##4F98261.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B10
Deuteranopia (green-blind)
#948532
Tritanopia (blue-blind)
#4B9282
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4f9826;
/* rgb */ color: rgb(79, 152, 38);
/* oklch */ color: oklch(60.9% 0.163 136.8);
Tailwind
colors: {
  custom: {
    50: '#87b768',
    500: '#4f9826',
    950: '#000000',
  },
}
SCSS
$custom: #4f9826;
$custom-light: #87b768;
$custom-dark: #000000;
JSON
{
  "hex": "#4f9826",
  "rgb": {
    "r": 79,
    "g": 152,
    "b": 38
  },
  "hsl": {
    "h": 98.421,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.60939,
    "c": 0.16326,
    "h": 136.8
  },
  "luminance": 0.24259
}

Semantic roles & 50–950 ramp

primary
#4F9826
secondary
#9A5DBD
accent
#45E3AA
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #4F9826

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

Preview Lab → · Contrast checker → · Palette generator →

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