#4F9017#4F9017

#4F9017 is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 58.7% C 0.161 H 134.7°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#4F9017
RGBrgb(79, 144, 23)
HSLhsl(92, 72%, 33%)
HSVhsv(92, 84%, 56%)
CMYKcmyk(45.1%, 0%, 84%, 43.5%)
CIE-LABlab(53.67, -40.40, 52.08)
CIE-LCHlch(53.67, 65.91, 127.81°)
OKLaboklab(58.72% -0.1134 0.1144)
OKLCHoklch(58.72% 0.161 134.7)
XYZxyz(13.3521, 21.6699, 4.2896)
Luminance0.2167 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F9017 #581790
analogous
#8C9017 #4F9017 #17901B
triadic
#4F9017 #174F90 #90174F
tetradic
#4F9017 #178C90 #581790 #901B17
square
#4F9017 #178C90 #581790 #901B17
split-complementary
#4F9017 #1B1790 #90178C
monochromatic
#152606 #325B0F #4F9017 #6CC51F #8BE141

Accessibility & contrast

On white

3.94
#4F9017 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#4F9017 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F9017
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F9017#FFFFFF#000000##000000
##4F90171.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#8D7E26
Tritanopia (blue-blind)
#4E8A7A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4f9017;
/* rgb */ color: rgb(79, 144, 23);
/* oklch */ color: oklch(58.7% 0.161 134.7);
Tailwind
colors: {
  custom: {
    50: '#87b161',
    500: '#4f9017',
    950: '#000000',
  },
}
SCSS
$custom: #4f9017;
$custom-light: #87b161;
$custom-dark: #000000;
JSON
{
  "hex": "#4f9017",
  "rgb": {
    "r": 79,
    "g": 144,
    "b": 23
  },
  "hsl": {
    "h": 92.231,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5872,
    "c": 0.16106,
    "h": 134.7
  },
  "luminance": 0.21671
}

Semantic roles & 50–950 ramp

primary
#4F9017
secondary
#8642C1
accent
#39EF9B
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1105
muted
#7D807A

Preview Lab

Preview with #4F9017

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

Preview Lab → · Contrast checker → · Palette generator →

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