#4F8D26#4F8D26

#4F8D26 is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 58.0% C 0.149 H 135.6°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#4F8D26
RGBrgb(79, 141, 38)
HSLhsl(96, 58%, 35%)
HSVhsv(96, 73%, 55%)
CMYKcmyk(44%, 0%, 73%, 44.7%)
CIE-LABlab(52.79, -38.23, 46.18)
CIE-LCHlch(52.79, 59.95, 129.61°)
OKLaboklab(58.02% -0.1065 0.1044)
OKLCHoklch(58.02% 0.149 135.6)
XYZxyz(13.0989, 20.8512, 5.1678)
Luminance0.2085 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8D26 #64268D
analogous
#828D26 #4F8D26 #268D31
triadic
#4F8D26 #264F8D #8D264F
tetradic
#4F8D26 #26828D #64268D #8D3126
square
#4F8D26 #26828D #64268D #8D3126
split-complementary
#4F8D26 #31268D #8D2682
monochromatic
#192D0C #345D19 #4F8D26 #6ABD33 #8AD35B

Accessibility & contrast

On white

4.06
#4F8D26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#4F8D26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8D26
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8D26#FFFFFF#000000##000000
##4F8D261.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928115
Deuteranopia (green-blind)
#8A7C30
Tritanopia (blue-blind)
#4D8879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4f8d26;
/* rgb */ color: rgb(79, 141, 38);
/* oklch */ color: oklch(58.0% 0.149 135.6);
Tailwind
colors: {
  custom: {
    50: '#86af67',
    500: '#4f8d26',
    950: '#000000',
  },
}
SCSS
$custom: #4f8d26;
$custom-light: #86af67;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8d26",
  "rgb": {
    "r": 79,
    "g": 141,
    "b": 38
  },
  "hsl": {
    "h": 96.117,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58018,
    "c": 0.14912,
    "h": 135.6
  },
  "luminance": 0.20852
}

Semantic roles & 50–950 ramp

primary
#4F8D26
secondary
#9157B8
accent
#47E1A4
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4F8D26

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

Preview Lab → · Contrast checker → · Palette generator →

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