#4F8A17#4F8A17

#4F8A17 is a mid, vivid yellow-green. Relative luminance 0.199; OKLCH L 57.1% C 0.154 H 133.9°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#4F8A17
RGBrgb(79, 138, 23)
HSLhsl(91, 71%, 32%)
HSVhsv(91, 83%, 54%)
CMYKcmyk(42.8%, 0%, 83.3%, 45.9%)
CIE-LABlab(51.72, -37.87, 50.31)
CIE-LCHlch(51.72, 62.97, 126.97°)
OKLaboklab(57.12% -0.1066 0.1107)
OKLCHoklch(57.12% 0.154 133.9)
XYZxyz(12.4674, 19.9004, 3.9947)
Luminance0.1990 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8A17 #52178A
analogous
#898A17 #4F8A17 #178A19
triadic
#4F8A17 #174F8A #8A174F
tetradic
#4F8A17 #17898A #52178A #8A1917
square
#4F8A17 #17898A #52178A #8A1917
split-complementary
#4F8A17 #19178A #8A1789
monochromatic
#132106 #31560E #4F8A17 #6DBE20 #8CDF3D

Accessibility & contrast

On white

4.22
#4F8A17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#4F8A17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8A17
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8A17#FFFFFF#000000##000000
##4F8A171.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#887A25
Tritanopia (blue-blind)
#4E8475
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4f8a17;
/* rgb */ color: rgb(79, 138, 23);
/* oklch */ color: oklch(57.1% 0.154 133.9);
Tailwind
colors: {
  custom: {
    50: '#86ac60',
    500: '#4f8a17',
    950: '#000000',
  },
}
SCSS
$custom: #4f8a17;
$custom-light: #86ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8a17",
  "rgb": {
    "r": 79,
    "g": 138,
    "b": 23
  },
  "hsl": {
    "h": 90.783,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5712,
    "c": 0.15365,
    "h": 133.9
  },
  "luminance": 0.19901
}

Semantic roles & 50–950 ramp

primary
#4F8A17
secondary
#803FBE
accent
#3AEE96
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4F8A17

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

Preview Lab → · Contrast checker → · Palette generator →

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