#4F9D23#4F9D23

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

Color values

HEX#4F9D23
RGBrgb(79, 157, 35)
HSLhsl(98, 64%, 38%)
HSVhsv(98, 78%, 62%)
CMYKcmyk(49.7%, 0%, 77.7%, 38.4%)
CIE-LABlab(57.94, -45.04, 52.37)
CIE-LCHlch(57.94, 69.07, 130.69°)
OKLaboklab(62.24% -0.1251 0.1169)
OKLCHoklch(62.24% 0.171 136.9)
XYZxyz(15.5843, 25.8965, 5.7671)
Luminance0.2590 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F9D23 #71239D
analogous
#8C9D23 #4F9D23 #239D34
triadic
#4F9D23 #234F9D #9D234F
tetradic
#4F9D23 #238C9D #71239D #9D3423
square
#4F9D23 #238C9D #71239D #9D3423
split-complementary
#4F9D23 #34239D #9D238C
monochromatic
#1D390D #366B18 #4F9D23 #68CF2E #8CDB5F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F9D23#FFFFFF#000000##000000
##4F9D231.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)
#A28F04
Deuteranopia (green-blind)
#988930
Tritanopia (blue-blind)
#4A9786
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #4f9d23;
/* rgb */ color: rgb(79, 157, 35);
/* oklch */ color: oklch(62.2% 0.171 136.9);
Tailwind
colors: {
  custom: {
    50: '#88ba68',
    500: '#4f9d23',
    950: '#000000',
  },
}
SCSS
$custom: #4f9d23;
$custom-light: #88ba68;
$custom-dark: #000000;
JSON
{
  "hex": "#4f9d23",
  "rgb": {
    "r": 79,
    "g": 157,
    "b": 35
  },
  "hsl": {
    "h": 98.361,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.62243,
    "c": 0.17117,
    "h": 136.9
  },
  "luminance": 0.25898
}

Semantic roles & 50–950 ramp

primary
#4F9D23
secondary
#9C5CC0
accent
#41E7AB
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #4F9D23

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

Preview Lab → · Contrast checker → · Palette generator →

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