#4F971B#4F971B

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

Color values

HEX#4F971B
RGBrgb(79, 151, 27)
HSLhsl(95, 70%, 35%)
HSVhsv(95, 82%, 59%)
CMYKcmyk(47.7%, 0%, 82.1%, 40.8%)
CIE-LABlab(55.96, -43.08, 53.02)
CIE-LCHlch(55.96, 68.32, 129.10°)
OKLaboklab(60.6% -0.1203 0.117)
OKLCHoklch(60.6% 0.168 135.8)
XYZxyz(14.4885, 23.8737, 4.8813)
Luminance0.2387 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F971B #631B97
analogous
#8D971B #4F971B #1B9725
triadic
#4F971B #1B4F97 #971B4F
tetradic
#4F971B #1B8D97 #631B97 #97251B
square
#4F971B #1B8D97 #631B97 #97251B
split-complementary
#4F971B #251B97 #971B8D
monochromatic
#192F08 #346312 #4F971B #6ACB24 #8ADF4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F971B#FFFFFF#000000##000000
##4F971B1.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)
#93842A
Tritanopia (blue-blind)
#4C9180
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4f971b;
/* rgb */ color: rgb(79, 151, 27);
/* oklch */ color: oklch(60.6% 0.168 135.8);
Tailwind
colors: {
  custom: {
    50: '#88b663',
    500: '#4f971b',
    950: '#000000',
  },
}
SCSS
$custom: #4f971b;
$custom-light: #88b663;
$custom-dark: #000000;
JSON
{
  "hex": "#4f971b",
  "rgb": {
    "r": 79,
    "g": 151,
    "b": 27
  },
  "hsl": {
    "h": 94.839,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.60604,
    "c": 0.16783,
    "h": 135.8
  },
  "luminance": 0.23875
}

Semantic roles & 50–950 ramp

primary
#4F971B
secondary
#904CC1
accent
#3BECA2
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4F971B

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

Preview Lab → · Contrast checker → · Palette generator →

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