#4F8918#4F8918

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

Color values

HEX#4F8918
RGBrgb(79, 137, 24)
HSLhsl(91, 70%, 32%)
HSVhsv(91, 82%, 54%)
CMYKcmyk(42.3%, 0%, 82.5%, 46.3%)
CIE-LABlab(51.40, -37.39, 49.72)
CIE-LCHlch(51.40, 62.21, 126.94°)
OKLaboklab(56.86% -0.1052 0.1096)
OKLCHoklch(56.86% 0.152 133.8)
XYZxyz(12.3348, 19.6189, 4.0009)
Luminance0.1962 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8918 #521889
analogous
#888918 #4F8918 #188919
triadic
#4F8918 #184F89 #89184F
tetradic
#4F8918 #188889 #521889 #891918
square
#4F8918 #188889 #521889 #891918
split-complementary
#4F8918 #191889 #891888
monochromatic
#132106 #31550F #4F8918 #6DBD21 #8CDD3E

Accessibility & contrast

On white

4.26
#4F8918 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F8918#FFFFFF#000000##000000
##4F89181.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f8918;
/* rgb */ color: rgb(79, 137, 24);
/* oklch */ color: oklch(56.9% 0.152 133.8);
Tailwind
colors: {
  custom: {
    50: '#86ac60',
    500: '#4f8918',
    950: '#000000',
  },
}
SCSS
$custom: #4f8918;
$custom-light: #86ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8918",
  "rgb": {
    "r": 79,
    "g": 137,
    "b": 24
  },
  "hsl": {
    "h": 90.796,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56859,
    "c": 0.15193,
    "h": 133.8
  },
  "luminance": 0.1962
}

Semantic roles & 50–950 ramp

primary
#4F8918
secondary
#8040BD
accent
#3BED96
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4F8918

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

Preview Lab → · Contrast checker → · Palette generator →

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