#4F8D19#4F8D19

#4F8D19 is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 57.9% C 0.156 H 134.5°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#4F8D19
RGBrgb(79, 141, 25)
HSLhsl(92, 70%, 33%)
HSVhsv(92, 82%, 55%)
CMYKcmyk(44%, 0%, 82.3%, 44.7%)
CIE-LABlab(52.71, -39.05, 50.62)
CIE-LCHlch(52.71, 63.93, 127.64°)
OKLaboklab(57.93% -0.1096 0.1117)
OKLCHoklch(57.93% 0.156 134.5)
XYZxyz(12.9245, 20.7815, 4.2497)
Luminance0.2078 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8D19 #57198D
analogous
#898D19 #4F8D19 #198D1D
triadic
#4F8D19 #194F8D #8D194F
tetradic
#4F8D19 #19898D #57198D #8D1D19
square
#4F8D19 #19898D #57198D #8D1D19
split-complementary
#4F8D19 #1D198D #8D1989
monochromatic
#152507 #325910 #4F8D19 #6CC122 #8BDE43

Accessibility & contrast

On white

4.07
#4F8D19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#4F8D19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8D19
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8D19#FFFFFF#000000##000000
##4F8D191.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#8A7C27
Tritanopia (blue-blind)
#4E8778
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4f8d19;
/* rgb */ color: rgb(79, 141, 25);
/* oklch */ color: oklch(57.9% 0.156 134.5);
Tailwind
colors: {
  custom: {
    50: '#86af61',
    500: '#4f8d19',
    950: '#000000',
  },
}
SCSS
$custom: #4f8d19;
$custom-light: #86af61;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8d19",
  "rgb": {
    "r": 79,
    "g": 141,
    "b": 25
  },
  "hsl": {
    "h": 92.069,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57931,
    "c": 0.15646,
    "h": 134.5
  },
  "luminance": 0.20782
}

Semantic roles & 50–950 ramp

primary
#4F8D19
secondary
#8543BF
accent
#3BED9A
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4F8D19

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

Preview Lab → · Contrast checker → · Palette generator →

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