#4F8418#4F8418

#4F8418 is a mid, vivid yellow-green. Relative luminance 0.182; OKLCH L 55.5% C 0.146 H 133.0°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#4F8418
RGBrgb(79, 132, 24)
HSLhsl(89, 69%, 31%)
HSVhsv(89, 82%, 52%)
CMYKcmyk(40.2%, 0%, 81.8%, 48.2%)
CIE-LABlab(49.77, -35.21, 48.22)
CIE-LCHlch(49.77, 59.71, 126.13°)
OKLaboklab(55.52% -0.0993 0.1065)
OKLCHoklch(55.52% 0.146 133)
XYZxyz(11.6404, 18.2302, 3.7694)
Luminance0.1823 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8418 #4D1884
analogous
#848318 #4F8418 #198418
triadic
#4F8418 #184F84 #84184F
tetradic
#4F8418 #188483 #4D1884 #841819
square
#4F8418 #188483 #4D1884 #841819
split-complementary
#4F8418 #181984 #831884
monochromatic
#111C05 #30500F #4F8418 #6EB821 #8DDB3B

Accessibility & contrast

On white

4.52
#4F8418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#4F8418 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8418
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8418#FFFFFF#000000##000000
##4F84181.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#837524
Tritanopia (blue-blind)
#4F7E70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4f8418;
/* rgb */ color: rgb(79, 132, 24);
/* oklch */ color: oklch(55.5% 0.146 133.0);
Tailwind
colors: {
  custom: {
    50: '#85a85f',
    500: '#4f8418',
    950: '#000000',
  },
}
SCSS
$custom: #4f8418;
$custom-light: #85a85f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8418",
  "rgb": {
    "r": 79,
    "g": 132,
    "b": 24
  },
  "hsl": {
    "h": 89.444,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.55524,
    "c": 0.1456,
    "h": 133
  },
  "luminance": 0.18231
}

Semantic roles & 50–950 ramp

primary
#4F8418
secondary
#7B40B8
accent
#3CEC92
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #4F8418

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

Preview Lab → · Contrast checker → · Palette generator →

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