#4F8B19#4F8B19

#4F8B19 is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.4% C 0.154 H 134.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4F8B19
RGBrgb(79, 139, 25)
HSLhsl(92, 70%, 32%)
HSVhsv(92, 82%, 55%)
CMYKcmyk(43.2%, 0%, 82%, 45.5%)
CIE-LABlab(52.06, -38.20, 50.02)
CIE-LCHlch(52.06, 62.94, 127.36°)
OKLaboklab(57.4% -0.1073 0.1104)
OKLCHoklch(57.4% 0.154 134.2)
XYZxyz(12.6323, 20.1970, 4.1523)
Luminance0.2020 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8B19 #55198B
analogous
#888B19 #4F8B19 #198B1C
triadic
#4F8B19 #194F8B #8B194F
tetradic
#4F8B19 #19888B #55198B #8B1C19
square
#4F8B19 #19888B #55198B #8B1C19
split-complementary
#4F8B19 #1C198B #8B1988
monochromatic
#142306 #325710 #4F8B19 #6CBF22 #8BDD41

Accessibility & contrast

On white

4.17
#4F8B19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#4F8B19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8B19
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8B19#FFFFFF#000000##000000
##4F8B191.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#897A26
Tritanopia (blue-blind)
#4E8576
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4f8b19;
/* rgb */ color: rgb(79, 139, 25);
/* oklch */ color: oklch(57.4% 0.154 134.2);
Tailwind
colors: {
  custom: {
    50: '#86ad61',
    500: '#4f8b19',
    950: '#000000',
  },
}
SCSS
$custom: #4f8b19;
$custom-light: #86ad61;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8b19",
  "rgb": {
    "r": 79,
    "g": 139,
    "b": 25
  },
  "hsl": {
    "h": 91.579,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57398,
    "c": 0.15397,
    "h": 134.2
  },
  "luminance": 0.20198
}

Semantic roles & 50–950 ramp

primary
#4F8B19
secondary
#8342BE
accent
#3BEC99
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4F8B19

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

Preview Lab → · Contrast checker → · Palette generator →

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