#4C8D26#4C8D26

#4C8D26 is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 57.9% C 0.151 H 136.4°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#4C8D26
RGBrgb(76, 141, 38)
HSLhsl(98, 58%, 35%)
HSVhsv(98, 73%, 55%)
CMYKcmyk(46.1%, 0%, 73%, 44.7%)
CIE-LABlab(52.65, -39.24, 46.00)
CIE-LCHlch(52.65, 60.46, 130.47°)
OKLaboklab(57.87% -0.109 0.104)
OKLCHoklch(57.87% 0.151 136.4)
XYZxyz(12.8549, 20.7254, 5.1564)
Luminance0.2073 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8D26 #67268D
analogous
#808D26 #4C8D26 #268D33
triadic
#4C8D26 #264C8D #8D264C
tetradic
#4C8D26 #26808D #67268D #8D3326
square
#4C8D26 #26808D #67268D #8D3326
split-complementary
#4C8D26 #33268D #8D2680
monochromatic
#182D0C #325D19 #4C8D26 #66BD33 #87D35B

Accessibility & contrast

On white

4.08
#4C8D26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#4C8D26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8D26
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8D26#FFFFFF#000000##000000
##4C8D261.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#928115
Deuteranopia (green-blind)
#897C30
Tritanopia (blue-blind)
#498879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4c8d26;
/* rgb */ color: rgb(76, 141, 38);
/* oklch */ color: oklch(57.9% 0.151 136.4);
Tailwind
colors: {
  custom: {
    50: '#84af67',
    500: '#4c8d26',
    950: '#000000',
  },
}
SCSS
$custom: #4c8d26;
$custom-light: #84af67;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8d26",
  "rgb": {
    "r": 76,
    "g": 141,
    "b": 38
  },
  "hsl": {
    "h": 97.864,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.57867,
    "c": 0.15071,
    "h": 136.4
  },
  "luminance": 0.20726
}

Semantic roles & 50–950 ramp

primary
#4C8D26
secondary
#9457B8
accent
#47E1A8
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4C8D26

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

Preview Lab → · Contrast checker → · Palette generator →

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