#4F8618#4F8618

#4F8618 is a mid, vivid yellow-green. Relative luminance 0.188; OKLCH L 56.1% C 0.148 H 133.4°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#4F8618
RGBrgb(79, 134, 24)
HSLhsl(90, 70%, 31%)
HSVhsv(90, 82%, 53%)
CMYKcmyk(41%, 0%, 82.1%, 47.5%)
CIE-LABlab(50.43, -36.09, 48.82)
CIE-LCHlch(50.43, 60.71, 126.47°)
OKLaboklab(56.06% -0.1017 0.1077)
OKLCHoklch(56.06% 0.148 133.4)
XYZxyz(11.9142, 18.7778, 3.8607)
Luminance0.1878 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8618 #4F1886
analogous
#868618 #4F8618 #188618
triadic
#4F8618 #184F86 #86184F
tetradic
#4F8618 #188686 #4F1886 #861818
square
#4F8618 #188686 #4F1886 #861818
split-complementary
#4F8618 #181886 #861886
monochromatic
#121E05 #30520F #4F8618 #6EBA21 #8CDC3C

Accessibility & contrast

On white

4.42
#4F8618 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#4F8618 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8618
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8618#FFFFFF#000000##000000
##4F86181.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#847625
Tritanopia (blue-blind)
#4F8072
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4f8618;
/* rgb */ color: rgb(79, 134, 24);
/* oklch */ color: oklch(56.1% 0.148 133.4);
Tailwind
colors: {
  custom: {
    50: '#86a95f',
    500: '#4f8618',
    950: '#000000',
  },
}
SCSS
$custom: #4f8618;
$custom-light: #86a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8618",
  "rgb": {
    "r": 79,
    "g": 134,
    "b": 24
  },
  "hsl": {
    "h": 90,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.56058,
    "c": 0.14815,
    "h": 133.4
  },
  "luminance": 0.18778
}

Semantic roles & 50–950 ramp

primary
#4F8618
secondary
#7D40BA
accent
#3BEC94
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4F8618

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

Preview Lab → · Contrast checker → · Palette generator →

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