#4F971E#4F971E

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

Color values

HEX#4F971E
RGBrgb(79, 151, 30)
HSLhsl(96, 67%, 35%)
HSVhsv(96, 80%, 59%)
CMYKcmyk(47.7%, 0%, 80.1%, 40.8%)
CIE-LABlab(55.98, -42.92, 52.13)
CIE-LCHlch(55.98, 67.52, 129.47°)
OKLaboklab(60.62% -0.1197 0.1156)
OKLCHoklch(60.62% 0.166 136)
XYZxyz(14.5250, 23.8883, 5.0736)
Luminance0.2389 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F971E #661E97
analogous
#8C971E #4F971E #1E9729
triadic
#4F971E #1E4F97 #971E4F
tetradic
#4F971E #1E8C97 #661E97 #97291E
square
#4F971E #1E8C97 #661E97 #97291E
split-complementary
#4F971E #291E97 #971E8C
monochromatic
#1A310A #346414 #4F971E #6ACA28 #8BDD53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F971E#FFFFFF#000000##000000
##4F971E1.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: #4f971e;
/* rgb */ color: rgb(79, 151, 30);
/* oklch */ color: oklch(60.6% 0.166 136.0);
Tailwind
colors: {
  custom: {
    50: '#87b665',
    500: '#4f971e',
    950: '#000000',
  },
}
SCSS
$custom: #4f971e;
$custom-light: #87b665;
$custom-dark: #000000;
JSON
{
  "hex": "#4f971e",
  "rgb": {
    "r": 79,
    "g": 151,
    "b": 30
  },
  "hsl": {
    "h": 95.702,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.60621,
    "c": 0.16641,
    "h": 136
  },
  "luminance": 0.23889
}

Semantic roles & 50–950 ramp

primary
#4F971E
secondary
#9351C0
accent
#3EEAA4
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4F971E

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

Preview Lab → · Contrast checker → · Palette generator →

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