#4F8B16#4F8B16

#4F8B16 is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.4% C 0.155 H 134.0°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4F8B16
RGBrgb(79, 139, 22)
HSLhsl(91, 73%, 32%)
HSVhsv(91, 84%, 55%)
CMYKcmyk(43.2%, 0%, 84.2%, 45.5%)
CIE-LABlab(52.05, -38.34, 50.88)
CIE-LCHlch(52.05, 63.71, 127.00°)
OKLaboklab(57.38% -0.1079 0.1118)
OKLCHoklch(57.38% 0.155 134)
XYZxyz(12.6017, 20.1847, 3.9909)
Luminance0.2019 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8B16 #52168B
analogous
#8A8B16 #4F8B16 #168B17
triadic
#4F8B16 #164F8B #8B164F
tetradic
#4F8B16 #168A8B #52168B #8B1716
square
#4F8B16 #168A8B #52168B #8B1716
split-complementary
#4F8B16 #17168B #8B168A
monochromatic
#132105 #31560E #4F8B16 #6DC01E #8CE03B

Accessibility & contrast

On white

4.17
#4F8B16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#4F8B16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8B16
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8B16#FFFFFF#000000##000000
##4F8B161.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#897A24
Tritanopia (blue-blind)
#4E8576
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4f8b16;
/* rgb */ color: rgb(79, 139, 22);
/* oklch */ color: oklch(57.4% 0.155 134.0);
Tailwind
colors: {
  custom: {
    50: '#86ad5f',
    500: '#4f8b16',
    950: '#000000',
  },
}
SCSS
$custom: #4f8b16;
$custom-light: #86ad5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8b16",
  "rgb": {
    "r": 79,
    "g": 139,
    "b": 22
  },
  "hsl": {
    "h": 90.769,
    "s": 72.671,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57382,
    "c": 0.15533,
    "h": 134
  },
  "luminance": 0.20185
}

Semantic roles & 50–950 ramp

primary
#4F8B16
secondary
#803EBF
accent
#38EF96
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4F8B16

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

Preview Lab → · Contrast checker → · Palette generator →

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