#4F9F22#4F9F22

#4F9F22 is a light, vivid yellow-green. Relative luminance 0.266; OKLCH L 62.8% C 0.174 H 137.0°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#4F9F22
RGBrgb(79, 159, 34)
HSLhsl(98, 65%, 38%)
HSVhsv(98, 79%, 62%)
CMYKcmyk(50.3%, 0%, 78.6%, 37.6%)
CIE-LABlab(58.58, -45.89, 53.31)
CIE-LCHlch(58.58, 70.34, 130.72°)
OKLaboklab(62.77% -0.1274 0.1187)
OKLCHoklch(62.77% 0.174 137)
XYZxyz(15.9108, 26.5729, 5.8037)
Luminance0.2657 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F9F22 #72229F
analogous
#8D9F22 #4F9F22 #229F33
triadic
#4F9F22 #224F9F #9F224F
tetradic
#4F9F22 #228D9F #72229F #9F3322
square
#4F9F22 #228D9F #72229F #9F3322
split-complementary
#4F9F22 #33229F #9F228D
monochromatic
#1D3A0C #366D17 #4F9F22 #68D12D #8CDD5F

Accessibility & contrast

On white

3.33
#4F9F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#4F9F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F9F22
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F9F22#FFFFFF#000000##000000
##4F9F221.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49100
Deuteranopia (green-blind)
#9A8A30
Tritanopia (blue-blind)
#4A9988
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #4f9f22;
/* rgb */ color: rgb(79, 159, 34);
/* oklch */ color: oklch(62.8% 0.174 137.0);
Tailwind
colors: {
  custom: {
    50: '#88bc67',
    500: '#4f9f22',
    950: '#000000',
  },
}
SCSS
$custom: #4f9f22;
$custom-light: #88bc67;
$custom-dark: #000000;
JSON
{
  "hex": "#4f9f22",
  "rgb": {
    "r": 79,
    "g": 159,
    "b": 34
  },
  "hsl": {
    "h": 98.4,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.62767,
    "c": 0.17414,
    "h": 137
  },
  "luminance": 0.26574
}

Semantic roles & 50–950 ramp

primary
#4F9F22
secondary
#9D5BC1
accent
#40E8AB
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #4F9F22

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

Preview Lab → · Contrast checker → · Palette generator →

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