#4F8722#4F8722

#4F8722 is a mid, vivid yellow-green. Relative luminance 0.191; OKLCH L 56.4% C 0.144 H 134.4°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#4F8722
RGBrgb(79, 135, 34)
HSLhsl(93, 60%, 33%)
HSVhsv(93, 75%, 53%)
CMYKcmyk(41.5%, 0%, 74.8%, 47.1%)
CIE-LABlab(50.81, -35.91, 45.74)
CIE-LCHlch(50.81, 58.16, 128.14°)
OKLaboklab(56.39% -0.1005 0.1028)
OKLCHoklch(56.39% 0.144 134.4)
XYZxyz(12.1769, 19.1051, 4.5591)
Luminance0.1911 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8722 #5A2287
analogous
#818722 #4F8722 #228727
triadic
#4F8722 #224F87 #87224F
tetradic
#4F8722 #228187 #5A2287 #872722
square
#4F8722 #228187 #5A2287 #872722
split-complementary
#4F8722 #272287 #872281
monochromatic
#162509 #325616 #4F8722 #6CB82E #8BD350

Accessibility & contrast

On white

4.36
#4F8722 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#4F8722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8722
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8722#FFFFFF#000000##000000
##4F87221.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C0F
Deuteranopia (green-blind)
#85772C
Tritanopia (blue-blind)
#4E8273
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4f8722;
/* rgb */ color: rgb(79, 135, 34);
/* oklch */ color: oklch(56.4% 0.144 134.4);
Tailwind
colors: {
  custom: {
    50: '#85aa64',
    500: '#4f8722',
    950: '#000000',
  },
}
SCSS
$custom: #4f8722;
$custom-light: #85aa64;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8722",
  "rgb": {
    "r": 79,
    "g": 135,
    "b": 34
  },
  "hsl": {
    "h": 93.267,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56391,
    "c": 0.14382,
    "h": 134.4
  },
  "luminance": 0.19106
}

Semantic roles & 50–950 ramp

primary
#4F8722
secondary
#884EB7
accent
#45E39D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4F8722

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

Preview Lab → · Contrast checker → · Palette generator →

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