#4F8117#4F8117

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

Color values

HEX#4F8117
RGBrgb(79, 129, 23)
HSLhsl(88, 70%, 30%)
HSVhsv(88, 82%, 51%)
CMYKcmyk(38.8%, 0%, 82.2%, 49.4%)
CIE-LABlab(48.79, -33.92, 47.62)
CIE-LCHlch(48.79, 58.47, 125.46°)
OKLaboklab(54.72% -0.096 0.105)
OKLCHoklch(54.72% 0.142 132.4)
XYZxyz(11.2292, 17.4241, 3.5820)
Luminance0.1742 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8117 #491781
analogous
#817E17 #4F8117 #1A8117
triadic
#4F8117 #174F81 #81174F
tetradic
#4F8117 #17817E #491781 #81171A
square
#4F8117 #17817E #491781 #81171A
split-complementary
#4F8117 #171A81 #7E1781
monochromatic
#101A05 #2F4D0E #4F8117 #6FB520 #8EDB37

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F8117#FFFFFF#000000##FFFFFF
##4F81171.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)
#807323
Tritanopia (blue-blind)
#507B6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4f8117;
/* rgb */ color: rgb(79, 129, 23);
/* oklch */ color: oklch(54.7% 0.142 132.4);
Tailwind
colors: {
  custom: {
    50: '#85a65e',
    500: '#4f8117',
    950: '#000000',
  },
}
SCSS
$custom: #4f8117;
$custom-light: #85a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8117",
  "rgb": {
    "r": 79,
    "g": 129,
    "b": 23
  },
  "hsl": {
    "h": 88.302,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54718,
    "c": 0.14227,
    "h": 132.4
  },
  "luminance": 0.17425
}

Semantic roles & 50–950 ramp

primary
#4F8117
secondary
#773EB5
accent
#3BED8F
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4F8117

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

Preview Lab → · Contrast checker → · Palette generator →

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