#4F9726#4F9726

#4F9726 is a mid, vivid yellow-green. Relative luminance 0.239; OKLCH L 60.7% C 0.162 H 136.7°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#4F9726
RGBrgb(79, 151, 38)
HSLhsl(98, 60%, 37%)
HSVhsv(98, 75%, 59%)
CMYKcmyk(47.7%, 0%, 74.8%, 40.8%)
CIE-LABlab(56.02, -42.41, 49.44)
CIE-LCHlch(56.02, 65.14, 130.63°)
OKLaboklab(60.67% -0.1178 0.1112)
OKLCHoklch(60.67% 0.162 136.7)
XYZxyz(14.6405, 23.9345, 5.6817)
Luminance0.2394 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F9726 #6E2697
analogous
#889726 #4F9726 #269736
triadic
#4F9726 #264F97 #97264F
tetradic
#4F9726 #268897 #6E2697 #973626
square
#4F9726 #268897 #6E2697 #973626
split-complementary
#4F9726 #362697 #972688
monochromatic
#1C350D #35661A #4F9726 #69C832 #8BD760

Accessibility & contrast

On white

3.63
#4F9726 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#4F9726 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F9726
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F9726#FFFFFF#000000##000000
##4F97261.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A10
Deuteranopia (green-blind)
#938431
Tritanopia (blue-blind)
#4B9181
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4f9726;
/* rgb */ color: rgb(79, 151, 38);
/* oklch */ color: oklch(60.7% 0.162 136.7);
Tailwind
colors: {
  custom: {
    50: '#87b668',
    500: '#4f9726',
    950: '#000000',
  },
}
SCSS
$custom: #4f9726;
$custom-light: #87b668;
$custom-dark: #000000;
JSON
{
  "hex": "#4f9726",
  "rgb": {
    "r": 79,
    "g": 151,
    "b": 38
  },
  "hsl": {
    "h": 98.23,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.60674,
    "c": 0.16199,
    "h": 136.7
  },
  "luminance": 0.23935
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F9726

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

Preview Lab → · Contrast checker → · Palette generator →

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