#4F971D#4F971D

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

Color values

HEX#4F971D
RGBrgb(79, 151, 29)
HSLhsl(95, 68%, 35%)
HSVhsv(95, 81%, 59%)
CMYKcmyk(47.7%, 0%, 80.8%, 40.8%)
CIE-LABlab(55.97, -42.98, 52.43)
CIE-LCHlch(55.97, 67.80, 129.34°)
OKLaboklab(60.61% -0.1199 0.1161)
OKLCHoklch(60.61% 0.167 135.9)
XYZxyz(14.5125, 23.8833, 5.0074)
Luminance0.2388 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F971D #651D97
analogous
#8C971D #4F971D #1D9728
triadic
#4F971D #1D4F97 #971D4F
tetradic
#4F971D #1D8C97 #651D97 #97281D
square
#4F971D #1D8C97 #651D97 #97281D
split-complementary
#4F971D #281D97 #971D8C
monochromatic
#193009 #346413 #4F971D #6ACA27 #8BDE51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F971D#FFFFFF#000000##000000
##4F971D1.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f971d;
/* rgb */ color: rgb(79, 151, 29);
/* oklch */ color: oklch(60.6% 0.167 135.9);
Tailwind
colors: {
  custom: {
    50: '#88b664',
    500: '#4f971d',
    950: '#000000',
  },
}
SCSS
$custom: #4f971d;
$custom-light: #88b664;
$custom-dark: #000000;
JSON
{
  "hex": "#4f971d",
  "rgb": {
    "r": 79,
    "g": 151,
    "b": 29
  },
  "hsl": {
    "h": 95.41,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60615,
    "c": 0.1669,
    "h": 135.9
  },
  "luminance": 0.23884
}

Semantic roles & 50–950 ramp

primary
#4F971D
secondary
#924FC0
accent
#3DEBA4
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4F971D

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

Preview Lab → · Contrast checker → · Palette generator →

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