#4F8915#4F8915

#4F8915 is a mid, vivid yellow-green. Relative luminance 0.196; OKLCH L 56.8% C 0.153 H 133.6°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#4F8915
RGBrgb(79, 137, 21)
HSLhsl(90, 73%, 31%)
HSVhsv(90, 85%, 54%)
CMYKcmyk(42.3%, 0%, 84.7%, 46.3%)
CIE-LABlab(51.39, -37.53, 50.57)
CIE-LCHlch(51.39, 62.98, 126.58°)
OKLaboklab(56.84% -0.1058 0.1109)
OKLCHoklch(56.84% 0.153 133.6)
XYZxyz(12.3053, 19.6071, 3.8455)
Luminance0.1961 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8915 #4F1589
analogous
#898915 #4F8915 #158915
triadic
#4F8915 #154F89 #89154F
tetradic
#4F8915 #158989 #4F1589 #891515
square
#4F8915 #158989 #4F1589 #891515
split-complementary
#4F8915 #151589 #891589
monochromatic
#121F05 #30540D #4F8915 #6EBE1D #8CE038

Accessibility & contrast

On white

4.27
#4F8915 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#4F8915 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8915
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8915#FFFFFF#000000##000000
##4F89151.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7D00
Deuteranopia (green-blind)
#877923
Tritanopia (blue-blind)
#4F8374
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4f8915;
/* rgb */ color: rgb(79, 137, 21);
/* oklch */ color: oklch(56.8% 0.153 133.6);
Tailwind
colors: {
  custom: {
    50: '#86ac5f',
    500: '#4f8915',
    950: '#000000',
  },
}
SCSS
$custom: #4f8915;
$custom-light: #86ac5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8915",
  "rgb": {
    "r": 79,
    "g": 137,
    "b": 21
  },
  "hsl": {
    "h": 90,
    "s": 73.418,
    "l": 30.98
  },
  "oklch": {
    "l": 0.56843,
    "c": 0.15328,
    "h": 133.6
  },
  "luminance": 0.19608
}

Semantic roles & 50–950 ramp

primary
#4F8915
secondary
#7D3DBD
accent
#38F094
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4F8915

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

Preview Lab → · Contrast checker → · Palette generator →

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