#4C8A26#4C8A26

#4C8A26 is a mid, vivid yellow-green. Relative luminance 0.199; OKLCH L 57.1% C 0.147 H 136.0°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#4C8A26
RGBrgb(76, 138, 38)
HSLhsl(97, 57%, 35%)
HSVhsv(97, 72%, 54%)
CMYKcmyk(44.9%, 0%, 72.5%, 45.9%)
CIE-LABlab(51.67, -37.97, 45.00)
CIE-LCHlch(51.67, 58.88, 130.15°)
OKLaboklab(57.07% -0.1056 0.1019)
OKLCHoklch(57.07% 0.147 136)
XYZxyz(12.4185, 19.8527, 5.0109)
Luminance0.1985 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8A26 #64268A
analogous
#7E8A26 #4C8A26 #268A32
triadic
#4C8A26 #264C8A #8A264C
tetradic
#4C8A26 #267E8A #64268A #8A3226
square
#4C8A26 #267E8A #64268A #8A3226
split-complementary
#4C8A26 #32268A #8A267E
monochromatic
#172A0C #325A19 #4C8A26 #66BA33 #87D159

Accessibility & contrast

On white

4.22
#4C8A26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#4C8A26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8A26
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8A26#FFFFFF#000000##000000
##4C8A261.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E16
Deuteranopia (green-blind)
#87792F
Tritanopia (blue-blind)
#4A8576
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4c8a26;
/* rgb */ color: rgb(76, 138, 38);
/* oklch */ color: oklch(57.1% 0.147 136.0);
Tailwind
colors: {
  custom: {
    50: '#84ad67',
    500: '#4c8a26',
    950: '#000000',
  },
}
SCSS
$custom: #4c8a26;
$custom-light: #84ad67;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8a26",
  "rgb": {
    "r": 76,
    "g": 138,
    "b": 38
  },
  "hsl": {
    "h": 97.2,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57065,
    "c": 0.14677,
    "h": 136
  },
  "luminance": 0.19853
}

Semantic roles & 50–950 ramp

primary
#4C8A26
secondary
#9156B6
accent
#48E0A6
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4C8A26

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

Preview Lab → · Contrast checker → · Palette generator →

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