#4F8818#4F8818

#4F8818 is a mid, vivid yellow-green. Relative luminance 0.193; OKLCH L 56.6% C 0.151 H 133.7°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#4F8818
RGBrgb(79, 136, 24)
HSLhsl(91, 70%, 31%)
HSVhsv(91, 82%, 53%)
CMYKcmyk(41.9%, 0%, 82.4%, 46.7%)
CIE-LABlab(51.08, -36.96, 49.42)
CIE-LCHlch(51.08, 61.71, 126.79°)
OKLaboklab(56.59% -0.104 0.109)
OKLCHoklch(56.59% 0.151 133.7)
XYZxyz(12.1933, 19.3359, 3.9537)
Luminance0.1934 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8818 #511888
analogous
#878818 #4F8818 #188819
triadic
#4F8818 #184F88 #88184F
tetradic
#4F8818 #188788 #511888 #881918
square
#4F8818 #188788 #511888 #881918
split-complementary
#4F8818 #191888 #881887
monochromatic
#132006 #31540F #4F8818 #6DBC21 #8CDD3E

Accessibility & contrast

On white

4.31
#4F8818 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#4F8818 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8818
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8818#FFFFFF#000000##000000
##4F88181.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#867825
Tritanopia (blue-blind)
#4F8274
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4f8818;
/* rgb */ color: rgb(79, 136, 24);
/* oklch */ color: oklch(56.6% 0.151 133.7);
Tailwind
colors: {
  custom: {
    50: '#86ab60',
    500: '#4f8818',
    950: '#000000',
  },
}
SCSS
$custom: #4f8818;
$custom-light: #86ab60;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8818",
  "rgb": {
    "r": 79,
    "g": 136,
    "b": 24
  },
  "hsl": {
    "h": 90.536,
    "s": 70,
    "l": 31.373
  },
  "oklch": {
    "l": 0.56592,
    "c": 0.15068,
    "h": 133.7
  },
  "luminance": 0.19337
}

Semantic roles & 50–950 ramp

primary
#4F8818
secondary
#7F40BC
accent
#3BED95
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4F8818

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

Preview Lab → · Contrast checker → · Palette generator →

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