#4F8819#4F8819

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

Color values

HEX#4F8819
RGBrgb(79, 136, 25)
HSLhsl(91, 69%, 32%)
HSVhsv(91, 82%, 53%)
CMYKcmyk(41.9%, 0%, 81.6%, 46.7%)
CIE-LABlab(51.08, -36.90, 49.12)
CIE-LCHlch(51.08, 61.44, 126.92°)
OKLaboklab(56.6% -0.1038 0.1085)
OKLCHoklch(56.6% 0.15 133.7)
XYZxyz(12.2039, 19.3401, 4.0095)
Luminance0.1934 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8819 #521988
analogous
#878819 #4F8819 #19881B
triadic
#4F8819 #194F88 #88194F
tetradic
#4F8819 #198788 #521988 #881B19
square
#4F8819 #198788 #521988 #881B19
split-complementary
#4F8819 #1B1988 #881987
monochromatic
#132106 #31540F #4F8819 #6DBC23 #8CDC40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F8819#FFFFFF#000000##000000
##4F88191.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)
#867826
Tritanopia (blue-blind)
#4F8274
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4f8819;
/* rgb */ color: rgb(79, 136, 25);
/* oklch */ color: oklch(56.6% 0.150 133.7);
Tailwind
colors: {
  custom: {
    50: '#86ab60',
    500: '#4f8819',
    950: '#000000',
  },
}
SCSS
$custom: #4f8819;
$custom-light: #86ab60;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8819",
  "rgb": {
    "r": 79,
    "g": 136,
    "b": 25
  },
  "hsl": {
    "h": 90.811,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56597,
    "c": 0.1502,
    "h": 133.7
  },
  "luminance": 0.19341
}

Semantic roles & 50–950 ramp

primary
#4F8819
secondary
#8041BB
accent
#3CEC96
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4F8819

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

Preview Lab → · Contrast checker → · Palette generator →

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