#4F8A19#4F8A19

#4F8A19 is a mid, vivid yellow-green. Relative luminance 0.199; OKLCH L 57.1% C 0.153 H 134.0°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#4F8A19
RGBrgb(79, 138, 25)
HSLhsl(91, 69%, 32%)
HSVhsv(91, 82%, 54%)
CMYKcmyk(42.8%, 0%, 81.9%, 45.9%)
CIE-LABlab(51.73, -37.77, 49.72)
CIE-LCHlch(51.73, 62.44, 127.22°)
OKLaboklab(57.13% -0.1062 0.1098)
OKLCHoklch(57.13% 0.153 134)
XYZxyz(12.4882, 19.9087, 4.1043)
Luminance0.1991 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8A19 #54198A
analogous
#888A19 #4F8A19 #198A1B
triadic
#4F8A19 #194F8A #8A194F
tetradic
#4F8A19 #19888A #54198A #8A1B19
square
#4F8A19 #19888A #54198A #8A1B19
split-complementary
#4F8A19 #1B198A #8A1988
monochromatic
#142206 #315610 #4F8A19 #6DBE22 #8BDD41

Accessibility & contrast

On white

4.22
#4F8A19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#4F8A19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8A19
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8A19#FFFFFF#000000##000000
##4F8A191.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#887A26
Tritanopia (blue-blind)
#4E8475
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4f8a19;
/* rgb */ color: rgb(79, 138, 25);
/* oklch */ color: oklch(57.1% 0.153 134.0);
Tailwind
colors: {
  custom: {
    50: '#86ac61',
    500: '#4f8a19',
    950: '#000000',
  },
}
SCSS
$custom: #4f8a19;
$custom-light: #86ac61;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8a19",
  "rgb": {
    "r": 79,
    "g": 138,
    "b": 25
  },
  "hsl": {
    "h": 91.327,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57131,
    "c": 0.15271,
    "h": 134
  },
  "luminance": 0.19909
}

Semantic roles & 50–950 ramp

primary
#4F8A19
secondary
#8242BD
accent
#3CEC98
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4F8A19

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

Preview Lab → · Contrast checker → · Palette generator →

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