#4F9219#4F9219

#4F9219 is a mid, vivid yellow-green. Relative luminance 0.223; OKLCH L 59.3% C 0.163 H 135.1°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#4F9219
RGBrgb(79, 146, 25)
HSLhsl(93, 71%, 34%)
HSVhsv(93, 83%, 57%)
CMYKcmyk(45.9%, 0%, 82.9%, 42.7%)
CIE-LABlab(54.33, -41.14, 52.11)
CIE-LCHlch(54.33, 66.39, 128.29°)
OKLaboklab(59.26% -0.1152 0.1148)
OKLCHoklch(59.26% 0.163 135.1)
XYZxyz(13.6785, 22.2894, 4.5010)
Luminance0.2229 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F9219 #5C1992
analogous
#8B9219 #4F9219 #19921F
triadic
#4F9219 #194F92 #92194F
tetradic
#4F9219 #198B92 #5C1992 #921F19
square
#4F9219 #198B92 #5C1992 #921F19
split-complementary
#4F9219 #1F1992 #92198B
monochromatic
#162907 #335E10 #4F9219 #6BC622 #8ADF46

Accessibility & contrast

On white

3.85
#4F9219 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#4F9219 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F9219
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F9219#FFFFFF#000000##000000
##4F92191.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#988500
Deuteranopia (green-blind)
#8F8028
Tritanopia (blue-blind)
#4D8C7C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4f9219;
/* rgb */ color: rgb(79, 146, 25);
/* oklch */ color: oklch(59.3% 0.163 135.1);
Tailwind
colors: {
  custom: {
    50: '#87b262',
    500: '#4f9219',
    950: '#000000',
  },
}
SCSS
$custom: #4f9219;
$custom-light: #87b262;
$custom-dark: #000000;
JSON
{
  "hex": "#4f9219",
  "rgb": {
    "r": 79,
    "g": 146,
    "b": 25
  },
  "hsl": {
    "h": 93.223,
    "s": 70.76,
    "l": 33.529
  },
  "oklch": {
    "l": 0.59263,
    "c": 0.16263,
    "h": 135.1
  },
  "luminance": 0.2229
}

Semantic roles & 50–950 ramp

primary
#4F9219
secondary
#8A46C1
accent
#3AEE9E
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4F9219

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

Preview Lab → · Contrast checker → · Palette generator →

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