#4F9D21#4F9D21

#4F9D21 is a light, vivid yellow-green. Relative luminance 0.259; OKLCH L 62.2% C 0.172 H 136.8°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#4F9D21
RGBrgb(79, 157, 33)
HSLhsl(98, 65%, 37%)
HSVhsv(98, 79%, 62%)
CMYKcmyk(49.7%, 0%, 79%, 38.4%)
CIE-LABlab(57.93, -45.16, 53.02)
CIE-LCHlch(57.93, 69.64, 130.42°)
OKLaboklab(62.23% -0.1255 0.1179)
OKLCHoklch(62.23% 0.172 136.8)
XYZxyz(15.5555, 25.8849, 5.6152)
Luminance0.2589 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F9D21 #6F219D
analogous
#8D9D21 #4F9D21 #219D31
triadic
#4F9D21 #214F9D #9D214F
tetradic
#4F9D21 #218D9D #6F219D #9D3121
square
#4F9D21 #218D9D #6F219D #9D3121
split-complementary
#4F9D21 #31219D #9D218D
monochromatic
#1C380C #366A16 #4F9D21 #68D02C #8CDD5C

Accessibility & contrast

On white

3.40
#4F9D21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#4F9D21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F9D21
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F9D21#FFFFFF#000000##000000
##4F9D211.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F00
Deuteranopia (green-blind)
#98892F
Tritanopia (blue-blind)
#4B9786
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #4f9d21;
/* rgb */ color: rgb(79, 157, 33);
/* oklch */ color: oklch(62.2% 0.172 136.8);
Tailwind
colors: {
  custom: {
    50: '#88ba67',
    500: '#4f9d21',
    950: '#000000',
  },
}
SCSS
$custom: #4f9d21;
$custom-light: #88ba67;
$custom-dark: #000000;
JSON
{
  "hex": "#4f9d21",
  "rgb": {
    "r": 79,
    "g": 157,
    "b": 33
  },
  "hsl": {
    "h": 97.742,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.62231,
    "c": 0.17222,
    "h": 136.8
  },
  "luminance": 0.25886
}

Semantic roles & 50–950 ramp

primary
#4F9D21
secondary
#9A59C1
accent
#40E8AA
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #4F9D21

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

Preview Lab → · Contrast checker → · Palette generator →

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