#4F9722#4F9722

#4F9722 is a mid, vivid yellow-green. Relative luminance 0.239; OKLCH L 60.6% C 0.164 H 136.3°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#4F9722
RGBrgb(79, 151, 34)
HSLhsl(97, 63%, 36%)
HSVhsv(97, 77%, 59%)
CMYKcmyk(47.7%, 0%, 77.5%, 40.8%)
CIE-LABlab(56.00, -42.68, 50.84)
CIE-LCHlch(56.00, 66.38, 130.02°)
OKLaboklab(60.65% -0.1188 0.1135)
OKLCHoklch(60.65% 0.164 136.3)
XYZxyz(14.5794, 23.9100, 5.3599)
Luminance0.2391 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F9722 #6A2297
analogous
#8A9722 #4F9722 #229730
triadic
#4F9722 #224F97 #97224F
tetradic
#4F9722 #228A97 #6A2297 #973022
square
#4F9722 #228A97 #6A2297 #973022
split-complementary
#4F9722 #302297 #97228A
monochromatic
#1B330C #356517 #4F9722 #69C92D #8BDA5A

Accessibility & contrast

On white

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

On black

5.78
#4F9722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F9722
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F9722#FFFFFF#000000##000000
##4F97221.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A05
Deuteranopia (green-blind)
#93842E
Tritanopia (blue-blind)
#4C9181
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4f9722;
/* rgb */ color: rgb(79, 151, 34);
/* oklch */ color: oklch(60.6% 0.164 136.3);
Tailwind
colors: {
  custom: {
    50: '#87b666',
    500: '#4f9722',
    950: '#000000',
  },
}
SCSS
$custom: #4f9722;
$custom-light: #87b666;
$custom-dark: #000000;
JSON
{
  "hex": "#4f9722",
  "rgb": {
    "r": 79,
    "g": 151,
    "b": 34
  },
  "hsl": {
    "h": 96.923,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.60646,
    "c": 0.1643,
    "h": 136.3
  },
  "luminance": 0.23911
}

Semantic roles & 50–950 ramp

primary
#4F9722
secondary
#9657BE
accent
#42E6A7
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4F9722

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

Preview Lab → · Contrast checker → · Palette generator →

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