#4F7216#4F7216

#4F7216 is a mid, vivid yellow-green. Relative luminance 0.138; OKLCH L 50.7% C 0.123 H 128.8°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#4F7216
RGBrgb(79, 114, 22)
HSLhsl(83, 68%, 27%)
HSVhsv(83, 81%, 45%)
CMYKcmyk(30.7%, 0%, 80.7%, 55.3%)
CIE-LABlab(43.88, -26.98, 43.38)
CIE-LCHlch(43.88, 51.09, 121.88°)
OKLaboklab(50.71% -0.0773 0.0959)
OKLCHoklch(50.71% 0.123 128.8)
XYZxyz(9.3866, 13.7546, 2.9193)
Luminance0.1376 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7216 #391672
analogous
#726716 #4F7216 #217216
triadic
#4F7216 #164F72 #72164F
tetradic
#4F7216 #167267 #391672 #721621
square
#4F7216 #167267 #391672 #721621
split-complementary
#4F7216 #162172 #671672
monochromatic
#121A05 #2B3F0C #4F7216 #73A520 #96D62C

Accessibility & contrast

On white

5.60
#4F7216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#4F7216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7216
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7216#FFFFFF#000000##FFFFFF
##4F72161.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#736720
Tritanopia (blue-blind)
#526D61
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4f7216;
/* rgb */ color: rgb(79, 114, 22);
/* oklch */ color: oklch(50.7% 0.123 128.8);
Tailwind
colors: {
  custom: {
    50: '#849a5c',
    500: '#4f7216',
    950: '#000000',
  },
}
SCSS
$custom: #4f7216;
$custom-light: #849a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7216",
  "rgb": {
    "r": 79,
    "g": 114,
    "b": 22
  },
  "hsl": {
    "h": 82.826,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.5071,
    "c": 0.1232,
    "h": 128.8
  },
  "luminance": 0.13755
}

Semantic roles & 50–950 ramp

primary
#4F7216
secondary
#653CA8
accent
#3DEB7F
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4F7216

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

Preview Lab → · Contrast checker → · Palette generator →

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