#4F8116#4F8116

#4F8116 is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.7% C 0.143 H 132.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#4F8116
RGBrgb(79, 129, 22)
HSLhsl(88, 71%, 30%)
HSVhsv(88, 83%, 51%)
CMYKcmyk(38.8%, 0%, 82.9%, 49.4%)
CIE-LABlab(48.79, -33.98, 47.92)
CIE-LCHlch(48.79, 58.75, 125.33°)
OKLaboklab(54.71% -0.0962 0.1055)
OKLCHoklch(54.71% 0.143 132.3)
XYZxyz(11.2194, 17.4202, 3.5302)
Luminance0.1742 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8116 #481681
analogous
#817E16 #4F8116 #1A8116
triadic
#4F8116 #164F81 #81164F
tetradic
#4F8116 #16817E #481681 #81161A
square
#4F8116 #16817E #481681 #81161A
split-complementary
#4F8116 #161A81 #7E1681
monochromatic
#101A04 #2F4D0D #4F8116 #6FB51F #8EDD35

Accessibility & contrast

On white

4.68
#4F8116 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#4F8116 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F8116
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8116#FFFFFF#000000##FFFFFF
##4F81161.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#807322
Tritanopia (blue-blind)
#507B6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4f8116;
/* rgb */ color: rgb(79, 129, 22);
/* oklch */ color: oklch(54.7% 0.143 132.3);
Tailwind
colors: {
  custom: {
    50: '#85a65e',
    500: '#4f8116',
    950: '#000000',
  },
}
SCSS
$custom: #4f8116;
$custom-light: #85a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8116",
  "rgb": {
    "r": 79,
    "g": 129,
    "b": 22
  },
  "hsl": {
    "h": 88.037,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.54712,
    "c": 0.14276,
    "h": 132.3
  },
  "luminance": 0.17421
}

Semantic roles & 50–950 ramp

primary
#4F8116
secondary
#753DB6
accent
#3AEE8E
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4F8116

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

Preview Lab → · Contrast checker → · Palette generator →

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