#4F7016#4F7016

#4F7016 is a mid, vivid yellow-green. Relative luminance 0.133; OKLCH L 50.2% C 0.121 H 128.3°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#4F7016
RGBrgb(79, 112, 22)
HSLhsl(82, 67%, 26%)
HSVhsv(82, 80%, 44%)
CMYKcmyk(29.5%, 0%, 80.4%, 56.1%)
CIE-LABlab(43.22, -26.01, 42.76)
CIE-LCHlch(43.22, 50.05, 121.31°)
OKLaboklab(50.18% -0.0746 0.0947)
OKLCHoklch(50.18% 0.121 128.3)
XYZxyz(9.1634, 13.3083, 2.8449)
Luminance0.1331 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7016 #371670
analogous
#706416 #4F7016 #227016
triadic
#4F7016 #164F70 #70164F
tetradic
#4F7016 #167064 #371670 #701622
square
#4F7016 #167064 #371670 #701622
split-complementary
#4F7016 #162270 #641670
monochromatic
#121A05 #2B3D0C #4F7016 #73A320 #97D52B

Accessibility & contrast

On white

5.73
#4F7016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#4F7016 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7016
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7016#FFFFFF#000000##FFFFFF
##4F70161.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766801
Deuteranopia (green-blind)
#71651F
Tritanopia (blue-blind)
#526B5F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4f7016;
/* rgb */ color: rgb(79, 112, 22);
/* oklch */ color: oklch(50.2% 0.121 128.3);
Tailwind
colors: {
  custom: {
    50: '#84995b',
    500: '#4f7016',
    950: '#000000',
  },
}
SCSS
$custom: #4f7016;
$custom-light: #84995b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7016",
  "rgb": {
    "r": 79,
    "g": 112,
    "b": 22
  },
  "hsl": {
    "h": 82,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.50177,
    "c": 0.12053,
    "h": 128.3
  },
  "luminance": 0.13309
}

Semantic roles & 50–950 ramp

primary
#4F7016
secondary
#633CA6
accent
#3EEA7D
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4F7016

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

Preview Lab → · Contrast checker → · Palette generator →

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