#4F8E11#4F8E11

#4F8E11 is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.2% C 0.161 H 134.1°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4F8E11
RGBrgb(79, 142, 17)
HSLhsl(90, 79%, 31%)
HSVhsv(90, 88%, 56%)
CMYKcmyk(44.4%, 0%, 88%, 44.3%)
CIE-LABlab(53.00, -39.82, 53.00)
CIE-LCHlch(53.00, 66.29, 126.92°)
OKLaboklab(58.16% -0.1121 0.1155)
OKLCHoklch(58.16% 0.161 134.1)
XYZxyz(12.9984, 21.0480, 3.9080)
Luminance0.2105 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8E11 #50118E
analogous
#8D8E11 #4F8E11 #118E12
triadic
#4F8E11 #114F8E #8E114F
tetradic
#4F8E11 #118D8E #50118E #8E1211
square
#4F8E11 #118D8E #50118E #8E1211
split-complementary
#4F8E11 #12118E #8E118D
monochromatic
#122104 #31570A #4F8E11 #6DC518 #8CE733

Accessibility & contrast

On white

4.03
#4F8E11 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#4F8E11 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8E11
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8E11#FFFFFF#000000##000000
##4F8E111.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8C7D22
Tritanopia (blue-blind)
#4E8878
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4f8e11;
/* rgb */ color: rgb(79, 142, 17);
/* oklch */ color: oklch(58.2% 0.161 134.1);
Tailwind
colors: {
  custom: {
    50: '#87af5e',
    500: '#4f8e11',
    950: '#000000',
  },
}
SCSS
$custom: #4f8e11;
$custom-light: #87af5e;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8e11",
  "rgb": {
    "r": 79,
    "g": 142,
    "b": 17
  },
  "hsl": {
    "h": 90.24,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.58161,
    "c": 0.16094,
    "h": 134.1
  },
  "luminance": 0.21049
}

Semantic roles & 50–950 ramp

primary
#4F8E11
secondary
#7E38C2
accent
#33F595
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4F8E11

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

Preview Lab → · Contrast checker → · Palette generator →

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