#4C8E26#4C8E26

#4C8E26 is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.1% C 0.152 H 136.5°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#4C8E26
RGBrgb(76, 142, 38)
HSLhsl(98, 58%, 35%)
HSVhsv(98, 73%, 56%)
CMYKcmyk(46.5%, 0%, 73.2%, 44.3%)
CIE-LABlab(52.97, -39.66, 46.33)
CIE-LCHlch(52.97, 60.99, 130.57°)
OKLaboklab(58.13% -0.1102 0.1047)
OKLCHoklch(58.13% 0.152 136.5)
XYZxyz(13.0030, 21.0216, 5.2058)
Luminance0.2102 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8E26 #68268E
analogous
#808E26 #4C8E26 #268E34
triadic
#4C8E26 #264C8E #8E264C
tetradic
#4C8E26 #26808E #68268E #8E3426
square
#4C8E26 #26808E #68268E #8E3426
split-complementary
#4C8E26 #34268E #8E2680
monochromatic
#182D0C #325E19 #4C8E26 #66BE33 #87D35B

Accessibility & contrast

On white

4.04
#4C8E26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#4C8E26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8E26
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8E26#FFFFFF#000000##000000
##4C8E261.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#938214
Deuteranopia (green-blind)
#8A7C30
Tritanopia (blue-blind)
#49897A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4c8e26;
/* rgb */ color: rgb(76, 142, 38);
/* oklch */ color: oklch(58.1% 0.152 136.5);
Tailwind
colors: {
  custom: {
    50: '#84af67',
    500: '#4c8e26',
    950: '#000000',
  },
}
SCSS
$custom: #4c8e26;
$custom-light: #84af67;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8e26",
  "rgb": {
    "r": 76,
    "g": 142,
    "b": 38
  },
  "hsl": {
    "h": 98.077,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58134,
    "c": 0.15201,
    "h": 136.5
  },
  "luminance": 0.21022
}

Semantic roles & 50–950 ramp

primary
#4C8E26
secondary
#9558B8
accent
#47E1A9
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4C8E26

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

Preview Lab → · Contrast checker → · Palette generator →

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