#4C8B26#4C8B26

#4C8B26 is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.3% C 0.148 H 136.1°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#4C8B26
RGBrgb(76, 139, 38)
HSLhsl(97, 57%, 35%)
HSVhsv(97, 73%, 55%)
CMYKcmyk(45.3%, 0%, 72.7%, 45.5%)
CIE-LABlab(52.00, -38.39, 45.33)
CIE-LCHlch(52.00, 59.41, 130.26°)
OKLaboklab(57.33% -0.1067 0.1026)
OKLCHoklch(57.33% 0.148 136.1)
XYZxyz(12.5626, 20.1409, 5.0590)
Luminance0.2014 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8B26 #65268B
analogous
#7E8B26 #4C8B26 #268B33
triadic
#4C8B26 #264C8B #8B264C
tetradic
#4C8B26 #267E8B #65268B #8B3326
square
#4C8B26 #267E8B #65268B #8B3326
split-complementary
#4C8B26 #33268B #8B267E
monochromatic
#172B0C #325B19 #4C8B26 #66BB33 #87D25A

Accessibility & contrast

On white

4.18
#4C8B26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#4C8B26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8B26
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8B26#FFFFFF#000000##000000
##4C8B261.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F15
Deuteranopia (green-blind)
#887A30
Tritanopia (blue-blind)
#498677
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4c8b26;
/* rgb */ color: rgb(76, 139, 38);
/* oklch */ color: oklch(57.3% 0.148 136.1);
Tailwind
colors: {
  custom: {
    50: '#84ad67',
    500: '#4c8b26',
    950: '#000000',
  },
}
SCSS
$custom: #4c8b26;
$custom-light: #84ad67;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8b26",
  "rgb": {
    "r": 76,
    "g": 139,
    "b": 38
  },
  "hsl": {
    "h": 97.426,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57332,
    "c": 0.14808,
    "h": 136.1
  },
  "luminance": 0.20142
}

Semantic roles & 50–950 ramp

primary
#4C8B26
secondary
#9256B7
accent
#47E0A7
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4C8B26

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

Preview Lab → · Contrast checker → · Palette generator →

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