#4E9F21#4E9F21

#4E9F21 is a light, vivid yellow-green. Relative luminance 0.265; OKLCH L 62.7% C 0.175 H 137.2°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#4E9F21
RGBrgb(78, 159, 33)
HSLhsl(99, 66%, 38%)
HSVhsv(99, 79%, 62%)
CMYKcmyk(50.9%, 0%, 79.2%, 37.6%)
CIE-LABlab(58.53, -46.25, 53.58)
CIE-LCHlch(58.53, 70.78, 130.80°)
OKLaboklab(62.72% -0.1284 0.1191)
OKLCHoklch(62.72% 0.175 137.2)
XYZxyz(15.8140, 26.5246, 5.7250)
Luminance0.2653 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E9F21 #72219F
analogous
#8D9F21 #4E9F21 #219F33
triadic
#4E9F21 #214E9F #9F214E
tetradic
#4E9F21 #218D9F #72219F #9F3321
square
#4E9F21 #218D9F #72219F #9F3321
split-complementary
#4E9F21 #33219F #9F218D
monochromatic
#1C3A0C #356C16 #4E9F21 #67D22C #8BDD5D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E9F21#FFFFFF#000000##000000
##4E9F211.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)
#9A8A2F
Tritanopia (blue-blind)
#499988
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #4e9f21;
/* rgb */ color: rgb(78, 159, 33);
/* oklch */ color: oklch(62.7% 0.175 137.2);
Tailwind
colors: {
  custom: {
    50: '#88bc67',
    500: '#4e9f21',
    950: '#000000',
  },
}
SCSS
$custom: #4e9f21;
$custom-light: #88bc67;
$custom-dark: #000000;
JSON
{
  "hex": "#4e9f21",
  "rgb": {
    "r": 78,
    "g": 159,
    "b": 33
  },
  "hsl": {
    "h": 98.571,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.62717,
    "c": 0.17514,
    "h": 137.2
  },
  "luminance": 0.26526
}

Semantic roles & 50–950 ramp

primary
#4E9F21
secondary
#9D5AC2
accent
#3FE9AC
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #4E9F21

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

Preview Lab → · Contrast checker → · Palette generator →

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