#4F8E19#4F8E19

#4F8E19 is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.2% C 0.158 H 134.6°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#4F8E19
RGBrgb(79, 142, 25)
HSLhsl(92, 70%, 33%)
HSVhsv(92, 82%, 56%)
CMYKcmyk(44.4%, 0%, 82.4%, 44.3%)
CIE-LABlab(53.03, -39.47, 50.92)
CIE-LCHlch(53.03, 64.43, 127.78°)
OKLaboklab(58.2% -0.1107 0.1123)
OKLCHoklch(58.2% 0.158 134.6)
XYZxyz(13.0727, 21.0777, 4.2991)
Luminance0.2108 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8E19 #58198E
analogous
#898E19 #4F8E19 #198E1E
triadic
#4F8E19 #194F8E #8E194F
tetradic
#4F8E19 #19898E #58198E #8E1E19
square
#4F8E19 #19898E #58198E #8E1E19
split-complementary
#4F8E19 #1E198E #8E1989
monochromatic
#152607 #325A10 #4F8E19 #6CC222 #8BDE43

Accessibility & contrast

On white

4.03
#4F8E19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#4F8E19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8E19
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8E19#FFFFFF#000000##000000
##4F8E191.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8B7D27
Tritanopia (blue-blind)
#4E8879
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4f8e19;
/* rgb */ color: rgb(79, 142, 25);
/* oklch */ color: oklch(58.2% 0.158 134.6);
Tailwind
colors: {
  custom: {
    50: '#87af61',
    500: '#4f8e19',
    950: '#000000',
  },
}
SCSS
$custom: #4f8e19;
$custom-light: #87af61;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8e19",
  "rgb": {
    "r": 79,
    "g": 142,
    "b": 25
  },
  "hsl": {
    "h": 92.308,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58198,
    "c": 0.1577,
    "h": 134.6
  },
  "luminance": 0.21078
}

Semantic roles & 50–950 ramp

primary
#4F8E19
secondary
#8644BF
accent
#3BED9B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4F8E19

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

Preview Lab → · Contrast checker → · Palette generator →

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