#4F971F#4F971F

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

Color values

HEX#4F971F
RGBrgb(79, 151, 31)
HSLhsl(96, 66%, 36%)
HSVhsv(96, 79%, 59%)
CMYKcmyk(47.7%, 0%, 79.5%, 40.8%)
CIE-LABlab(55.98, -42.86, 51.81)
CIE-LCHlch(55.98, 67.25, 129.60°)
OKLaboklab(60.63% -0.1195 0.1151)
OKLCHoklch(60.63% 0.166 136.1)
XYZxyz(14.5380, 23.8935, 5.1419)
Luminance0.2389 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F971F #671F97
analogous
#8B971F #4F971F #1F972B
triadic
#4F971F #1F4F97 #971F4F
tetradic
#4F971F #1F8B97 #671F97 #972B1F
square
#4F971F #1F8B97 #671F97 #972B1F
split-complementary
#4F971F #2B1F97 #971F8B
monochromatic
#1A310A #346415 #4F971F #6ACA29 #8BDC54

Accessibility & contrast

On white

3.63
#4F971F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#4F971F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F971F
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F971F#FFFFFF#000000##000000
##4F971F1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#93842C
Tritanopia (blue-blind)
#4C9181
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4f971f;
/* rgb */ color: rgb(79, 151, 31);
/* oklch */ color: oklch(60.6% 0.166 136.1);
Tailwind
colors: {
  custom: {
    50: '#87b665',
    500: '#4f971f',
    950: '#000000',
  },
}
SCSS
$custom: #4f971f;
$custom-light: #87b665;
$custom-dark: #000000;
JSON
{
  "hex": "#4f971f",
  "rgb": {
    "r": 79,
    "g": 151,
    "b": 31
  },
  "hsl": {
    "h": 96,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.60627,
    "c": 0.1659,
    "h": 136.1
  },
  "luminance": 0.23894
}

Semantic roles & 50–950 ramp

primary
#4F971F
secondary
#9452BF
accent
#3FE9A5
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4F971F

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

Preview Lab → · Contrast checker → · Palette generator →

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