#4F8F16#4F8F16

#4F8F16 is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.4% C 0.160 H 134.5°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#4F8F16
RGBrgb(79, 143, 22)
HSLhsl(92, 73%, 32%)
HSVhsv(92, 85%, 56%)
CMYKcmyk(44.8%, 0%, 84.6%, 43.9%)
CIE-LABlab(53.35, -40.03, 52.05)
CIE-LCHlch(53.35, 65.67, 127.56°)
OKLaboklab(58.45% -0.1124 0.1142)
OKLCHoklch(58.45% 0.16 134.5)
XYZxyz(13.1915, 21.3644, 4.1875)
Luminance0.2137 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8F16 #56168F
analogous
#8B8F16 #4F8F16 #168F1A
triadic
#4F8F16 #164F8F #8F164F
tetradic
#4F8F16 #168B8F #56168F #8F1A16
square
#4F8F16 #168B8F #56168F #8F1A16
split-complementary
#4F8F16 #1A168F #8F168B
monochromatic
#142506 #325A0E #4F8F16 #6CC41E #8BE13E

Accessibility & contrast

On white

3.98
#4F8F16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#4F8F16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8F16
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8F16#FFFFFF#000000##000000
##4F8F161.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8C7E25
Tritanopia (blue-blind)
#4E8979
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4f8f16;
/* rgb */ color: rgb(79, 143, 22);
/* oklch */ color: oklch(58.4% 0.160 134.5);
Tailwind
colors: {
  custom: {
    50: '#87b060',
    500: '#4f8f16',
    950: '#000000',
  },
}
SCSS
$custom: #4f8f16;
$custom-light: #87b060;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8f16",
  "rgb": {
    "r": 79,
    "g": 143,
    "b": 22
  },
  "hsl": {
    "h": 91.736,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58449,
    "c": 0.16026,
    "h": 134.5
  },
  "luminance": 0.21365
}

Semantic roles & 50–950 ramp

primary
#4F8F16
secondary
#843FC1
accent
#38F099
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4F8F16

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

Preview Lab → · Contrast checker → · Palette generator →

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