#4C8D2B#4C8D2B

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

Color values

HEX#4C8D2B
RGBrgb(76, 141, 43)
HSLhsl(100, 53%, 36%)
HSVhsv(100, 70%, 55%)
CMYKcmyk(46.1%, 0%, 69.5%, 44.7%)
CIE-LABlab(52.69, -38.83, 44.00)
CIE-LCHlch(52.69, 58.69, 131.43°)
OKLaboklab(57.91% -0.1076 0.1005)
OKLCHoklch(57.91% 0.147 136.9)
XYZxyz(12.9410, 20.7599, 5.6102)
Luminance0.2076 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8D2B #6C2B8D
analogous
#7D8D2B #4C8D2B #2B8D3B
triadic
#4C8D2B #2B4C8D #8D2B4C
tetradic
#4C8D2B #2B7D8D #6C2B8D #8D3B2B
square
#4C8D2B #2B7D8D #6C2B8D #8D3B2B
split-complementary
#4C8D2B #3B2B8D #8D2B7D
monochromatic
#192F0E #335E1D #4C8D2B #65BC39 #87CF63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C8D2B#FFFFFF#000000##000000
##4C8D2B1.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)
#92811D
Deuteranopia (green-blind)
#897C34
Tritanopia (blue-blind)
#498879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4c8d2b;
/* rgb */ color: rgb(76, 141, 43);
/* oklch */ color: oklch(57.9% 0.147 136.9);
Tailwind
colors: {
  custom: {
    50: '#84af6a',
    500: '#4c8d2b',
    950: '#000000',
  },
}
SCSS
$custom: #4c8d2b;
$custom-light: #84af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8d2b",
  "rgb": {
    "r": 76,
    "g": 141,
    "b": 43
  },
  "hsl": {
    "h": 99.796,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.5791,
    "c": 0.14724,
    "h": 136.9
  },
  "luminance": 0.20761
}

Semantic roles & 50–950 ramp

primary
#4C8D2B
secondary
#985EB6
accent
#4BDDAC
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4C8D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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