#4F8A24#4F8A24

#4F8A24 is a mid, vivid yellow-green. Relative luminance 0.200; OKLCH L 57.2% C 0.146 H 135.0°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#4F8A24
RGBrgb(79, 138, 36)
HSLhsl(95, 59%, 34%)
HSVhsv(95, 74%, 54%)
CMYKcmyk(42.8%, 0%, 73.9%, 45.9%)
CIE-LABlab(51.80, -37.08, 45.96)
CIE-LCHlch(51.80, 59.06, 128.89°)
OKLaboklab(57.21% -0.1035 0.1036)
OKLCHoklch(57.21% 0.146 135)
XYZxyz(12.6311, 19.9659, 4.8570)
Luminance0.1997 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8A24 #5F248A
analogous
#828A24 #4F8A24 #248A2C
triadic
#4F8A24 #244F8A #8A244F
tetradic
#4F8A24 #24828A #5F248A #8A2C24
square
#4F8A24 #24828A #5F248A #8A2C24
split-complementary
#4F8A24 #2C248A #8A2482
monochromatic
#17290B #335917 #4F8A24 #6BBB31 #8AD356

Accessibility & contrast

On white

4.21
#4F8A24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#4F8A24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8A24
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8A24#FFFFFF#000000##000000
##4F8A241.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F12
Deuteranopia (green-blind)
#877A2E
Tritanopia (blue-blind)
#4E8576
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4f8a24;
/* rgb */ color: rgb(79, 138, 36);
/* oklch */ color: oklch(57.2% 0.146 135.0);
Tailwind
colors: {
  custom: {
    50: '#86ac66',
    500: '#4f8a24',
    950: '#000000',
  },
}
SCSS
$custom: #4f8a24;
$custom-light: #86ac66;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8a24",
  "rgb": {
    "r": 79,
    "g": 138,
    "b": 36
  },
  "hsl": {
    "h": 94.706,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57205,
    "c": 0.14648,
    "h": 135
  },
  "luminance": 0.19967
}

Semantic roles & 50–950 ramp

primary
#4F8A24
secondary
#8D53B7
accent
#46E2A0
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4F8A24

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

Preview Lab → · Contrast checker → · Palette generator →

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