#4F9B18#4F9B18

#4F9B18 is a mid, vivid yellow-green. Relative luminance 0.252; OKLCH L 61.7% C 0.174 H 136.0°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#4F9B18
RGBrgb(79, 155, 24)
HSLhsl(95, 73%, 35%)
HSVhsv(95, 85%, 61%)
CMYKcmyk(49%, 0%, 84.5%, 39.2%)
CIE-LABlab(57.24, -44.83, 55.01)
CIE-LCHlch(57.24, 70.97, 129.18°)
OKLaboklab(61.65% -0.1252 0.1208)
OKLCHoklch(61.65% 0.174 136)
XYZxyz(15.1103, 25.1699, 4.9260)
Luminance0.2517 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F9B18 #64189B
analogous
#909B18 #4F9B18 #189B22
triadic
#4F9B18 #184F9B #9B184F
tetradic
#4F9B18 #18909B #64189B #9B2218
square
#4F9B18 #18909B #64189B #9B2218
split-complementary
#4F9B18 #22189B #9B1890
monochromatic
#193108 #346610 #4F9B18 #6AD020 #8AE34A

Accessibility & contrast

On white

3.48
#4F9B18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#4F9B18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F9B18
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F9B18#FFFFFF#000000##000000
##4F9B181.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18D00
Deuteranopia (green-blind)
#978729
Tritanopia (blue-blind)
#4C9584
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #4f9b18;
/* rgb */ color: rgb(79, 155, 24);
/* oklch */ color: oklch(61.7% 0.174 136.0);
Tailwind
colors: {
  custom: {
    50: '#88b963',
    500: '#4f9b18',
    950: '#000000',
  },
}
SCSS
$custom: #4f9b18;
$custom-light: #88b963;
$custom-dark: #000000;
JSON
{
  "hex": "#4f9b18",
  "rgb": {
    "r": 79,
    "g": 155,
    "b": 24
  },
  "hsl": {
    "h": 94.809,
    "s": 73.184,
    "l": 35.098
  },
  "oklch": {
    "l": 0.61652,
    "c": 0.17391,
    "h": 136
  },
  "luminance": 0.25171
}

Semantic roles & 50–950 ramp

primary
#4F9B18
secondary
#914AC5
accent
#38F0A3
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4F9B18

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

Preview Lab → · Contrast checker → · Palette generator →

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