#4F8422#4F8422

#4F8422 is a mid, vivid yellow-green. Relative luminance 0.183; OKLCH L 55.6% C 0.140 H 133.9°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#4F8422
RGBrgb(79, 132, 34)
HSLhsl(92, 59%, 33%)
HSVhsv(92, 74%, 52%)
CMYKcmyk(40.2%, 0%, 74.2%, 48.2%)
CIE-LABlab(49.83, -34.59, 44.76)
CIE-LCHlch(49.83, 56.57, 127.69°)
OKLaboklab(55.59% -0.0969 0.1008)
OKLCHoklch(55.59% 0.14 133.9)
XYZxyz(11.7642, 18.2797, 4.4215)
Luminance0.1828 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8422 #572284
analogous
#808422 #4F8422 #228426
triadic
#4F8422 #224F84 #84224F
tetradic
#4F8422 #228084 #572284 #842622
square
#4F8422 #228084 #572284 #842622
split-complementary
#4F8422 #262284 #842280
monochromatic
#152309 #325315 #4F8422 #6CB52F #8BD24F

Accessibility & contrast

On white

4.51
#4F8422 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#4F8422 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8422
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8422#FFFFFF#000000##000000
##4F84221.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#897911
Deuteranopia (green-blind)
#82752B
Tritanopia (blue-blind)
#4F7F71
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4f8422;
/* rgb */ color: rgb(79, 132, 34);
/* oklch */ color: oklch(55.6% 0.140 133.9);
Tailwind
colors: {
  custom: {
    50: '#85a864',
    500: '#4f8422',
    950: '#000000',
  },
}
SCSS
$custom: #4f8422;
$custom-light: #85a864;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8422",
  "rgb": {
    "r": 79,
    "g": 132,
    "b": 34
  },
  "hsl": {
    "h": 92.449,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55592,
    "c": 0.13985,
    "h": 133.9
  },
  "luminance": 0.1828
}

Semantic roles & 50–950 ramp

primary
#4F8422
secondary
#854DB5
accent
#46E29A
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4F8422

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

Preview Lab → · Contrast checker → · Palette generator →

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