#4F8C16#4F8C16

#4F8C16 is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 57.6% C 0.157 H 134.1°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#4F8C16
RGBrgb(79, 140, 22)
HSLhsl(91, 73%, 32%)
HSVhsv(91, 84%, 55%)
CMYKcmyk(43.6%, 0%, 84.3%, 45.1%)
CIE-LABlab(52.37, -38.77, 51.18)
CIE-LCHlch(52.37, 64.20, 127.14°)
OKLaboklab(57.65% -0.109 0.1124)
OKLCHoklch(57.65% 0.157 134.1)
XYZxyz(12.7471, 20.4757, 4.0394)
Luminance0.2048 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8C16 #53168C
analogous
#8A8C16 #4F8C16 #168C18
triadic
#4F8C16 #164F8C #8C164F
tetradic
#4F8C16 #168A8C #53168C #8C1816
square
#4F8C16 #168A8C #53168C #8C1816
split-complementary
#4F8C16 #18168C #8C168A
monochromatic
#132205 #31570E #4F8C16 #6DC11E #8BE03C

Accessibility & contrast

On white

4.12
#4F8C16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#4F8C16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8C16
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8C16#FFFFFF#000000##000000
##4F8C161.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#8A7B25
Tritanopia (blue-blind)
#4E8677
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4f8c16;
/* rgb */ color: rgb(79, 140, 22);
/* oklch */ color: oklch(57.6% 0.157 134.1);
Tailwind
colors: {
  custom: {
    50: '#86ae60',
    500: '#4f8c16',
    950: '#000000',
  },
}
SCSS
$custom: #4f8c16;
$custom-light: #86ae60;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8c16",
  "rgb": {
    "r": 79,
    "g": 140,
    "b": 22
  },
  "hsl": {
    "h": 91.017,
    "s": 72.84,
    "l": 31.765
  },
  "oklch": {
    "l": 0.57649,
    "c": 0.15657,
    "h": 134.1
  },
  "luminance": 0.20476
}

Semantic roles & 50–950 ramp

primary
#4F8C16
secondary
#813EC0
accent
#38F097
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4F8C16

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

Preview Lab → · Contrast checker → · Palette generator →

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