#4C8D27#4C8D27

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

Color values

HEX#4C8D27
RGBrgb(76, 141, 39)
HSLhsl(98, 57%, 35%)
HSVhsv(98, 72%, 55%)
CMYKcmyk(46.1%, 0%, 72.3%, 44.7%)
CIE-LABlab(52.65, -39.16, 45.61)
CIE-LCHlch(52.65, 60.12, 130.65°)
OKLaboklab(57.88% -0.1088 0.1034)
OKLCHoklch(57.88% 0.15 136.5)
XYZxyz(12.8712, 20.7319, 5.2425)
Luminance0.2073 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8D27 #68278D
analogous
#7F8D27 #4C8D27 #278D35
triadic
#4C8D27 #274C8D #8D274C
tetradic
#4C8D27 #277F8D #68278D #8D3527
square
#4C8D27 #277F8D #68278D #8D3527
split-complementary
#4C8D27 #35278D #8D277F
monochromatic
#182D0C #325D1A #4C8D27 #66BD34 #87D25C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C8D27#FFFFFF#000000##000000
##4C8D271.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)
#928116
Deuteranopia (green-blind)
#897C31
Tritanopia (blue-blind)
#498879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4c8d27;
/* rgb */ color: rgb(76, 141, 39);
/* oklch */ color: oklch(57.9% 0.150 136.5);
Tailwind
colors: {
  custom: {
    50: '#84af68',
    500: '#4c8d27',
    950: '#000000',
  },
}
SCSS
$custom: #4c8d27;
$custom-light: #84af68;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8d27",
  "rgb": {
    "r": 76,
    "g": 141,
    "b": 39
  },
  "hsl": {
    "h": 98.235,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57875,
    "c": 0.15004,
    "h": 136.5
  },
  "luminance": 0.20733
}

Semantic roles & 50–950 ramp

primary
#4C8D27
secondary
#9559B7
accent
#48E0A9
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4C8D27

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

Preview Lab → · Contrast checker → · Palette generator →

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