#4F971A#4F971A

#4F971A is a mid, vivid yellow-green. Relative luminance 0.239; OKLCH L 60.6% C 0.168 H 135.7°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#4F971A
RGBrgb(79, 151, 26)
HSLhsl(95, 71%, 35%)
HSVhsv(95, 83%, 59%)
CMYKcmyk(47.7%, 0%, 82.8%, 40.8%)
CIE-LABlab(55.96, -43.13, 53.31)
CIE-LCHlch(55.96, 68.57, 128.98°)
OKLaboklab(60.6% -0.1205 0.1175)
OKLCHoklch(60.6% 0.168 135.7)
XYZxyz(14.4771, 23.8691, 4.8214)
Luminance0.2387 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F971A #621A97
analogous
#8E971A #4F971A #1A9724
triadic
#4F971A #1A4F97 #971A4F
tetradic
#4F971A #1A8E97 #621A97 #97241A
square
#4F971A #1A8E97 #621A97 #97241A
split-complementary
#4F971A #241A97 #971A8E
monochromatic
#182F08 #346311 #4F971A #6ACB23 #8AE04B

Accessibility & contrast

On white

3.64
#4F971A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#4F971A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F971A
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F971A#FFFFFF#000000##000000
##4F971A1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#938429
Tritanopia (blue-blind)
#4C9180
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4f971a;
/* rgb */ color: rgb(79, 151, 26);
/* oklch */ color: oklch(60.6% 0.168 135.7);
Tailwind
colors: {
  custom: {
    50: '#88b663',
    500: '#4f971a',
    950: '#000000',
  },
}
SCSS
$custom: #4f971a;
$custom-light: #88b663;
$custom-dark: #000000;
JSON
{
  "hex": "#4f971a",
  "rgb": {
    "r": 79,
    "g": 151,
    "b": 26
  },
  "hsl": {
    "h": 94.56,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.60599,
    "c": 0.16828,
    "h": 135.7
  },
  "luminance": 0.2387
}

Semantic roles & 50–950 ramp

primary
#4F971A
secondary
#8F4BC2
accent
#3AEDA2
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4F971A

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

Preview Lab → · Contrast checker → · Palette generator →

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