#4F901A#4F901A

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

Color values

HEX#4F901A
RGBrgb(79, 144, 26)
HSLhsl(93, 69%, 33%)
HSVhsv(93, 82%, 56%)
CMYKcmyk(45.1%, 0%, 81.9%, 43.5%)
CIE-LABlab(53.69, -40.26, 51.23)
CIE-LCHlch(53.69, 65.15, 128.16°)
OKLaboklab(58.74% -0.1128 0.1131)
OKLCHoklch(58.74% 0.16 134.9)
XYZxyz(13.3839, 21.6826, 4.4570)
Luminance0.2168 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F901A #5B1A90
analogous
#8A901A #4F901A #1A9020
triadic
#4F901A #1A4F90 #901A4F
tetradic
#4F901A #1A8A90 #5B1A90 #90201A
square
#4F901A #1A8A90 #5B1A90 #90201A
split-complementary
#4F901A #201A90 #901A8A
monochromatic
#162807 #335C11 #4F901A #6BC423 #8BDE47

Accessibility & contrast

On white

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

On black

5.34
#4F901A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F901A
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F901A#FFFFFF#000000##000000
##4F901A1.003.945.345.34
#FFFFFF3.941.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f901a;
/* rgb */ color: rgb(79, 144, 26);
/* oklch */ color: oklch(58.7% 0.160 134.9);
Tailwind
colors: {
  custom: {
    50: '#87b162',
    500: '#4f901a',
    950: '#000000',
  },
}
SCSS
$custom: #4f901a;
$custom-light: #87b162;
$custom-dark: #000000;
JSON
{
  "hex": "#4f901a",
  "rgb": {
    "r": 79,
    "g": 144,
    "b": 26
  },
  "hsl": {
    "h": 93.051,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.58736,
    "c": 0.15971,
    "h": 134.9
  },
  "luminance": 0.21683
}

Semantic roles & 50–950 ramp

primary
#4F901A
secondary
#8947BF
accent
#3CEC9D
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4F901A

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

Preview Lab → · Contrast checker → · Palette generator →

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