#4C8B27#4C8B27

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

Color values

HEX#4C8B27
RGBrgb(76, 139, 39)
HSLhsl(98, 56%, 35%)
HSVhsv(98, 72%, 55%)
CMYKcmyk(45.3%, 0%, 71.9%, 45.5%)
CIE-LABlab(52.00, -38.31, 44.94)
CIE-LCHlch(52.00, 59.06, 130.45°)
OKLaboklab(57.34% -0.1065 0.102)
OKLCHoklch(57.34% 0.147 136.2)
XYZxyz(12.5790, 20.1475, 5.1451)
Luminance0.2015 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8B27 #66278B
analogous
#7E8B27 #4C8B27 #278B34
triadic
#4C8B27 #274C8B #8B274C
tetradic
#4C8B27 #277E8B #66278B #8B3427
square
#4C8B27 #277E8B #66278B #8B3427
split-complementary
#4C8B27 #34278B #8B277E
monochromatic
#182B0C #325B1A #4C8B27 #66BB34 #87D15B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C8B27#FFFFFF#000000##000000
##4C8B271.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)
#907F17
Deuteranopia (green-blind)
#877A30
Tritanopia (blue-blind)
#498677
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4c8b27;
/* rgb */ color: rgb(76, 139, 39);
/* oklch */ color: oklch(57.3% 0.147 136.2);
Tailwind
colors: {
  custom: {
    50: '#84ad67',
    500: '#4c8b27',
    950: '#000000',
  },
}
SCSS
$custom: #4c8b27;
$custom-light: #84ad67;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8b27",
  "rgb": {
    "r": 76,
    "g": 139,
    "b": 39
  },
  "hsl": {
    "h": 97.8,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57341,
    "c": 0.14741,
    "h": 136.2
  },
  "luminance": 0.20148
}

Semantic roles & 50–950 ramp

primary
#4C8B27
secondary
#9358B6
accent
#48DFA8
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4C8B27

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

Preview Lab → · Contrast checker → · Palette generator →

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