#4C9823#4C9823

#4C9823 is a mid, vivid yellow-green. Relative luminance 0.241; OKLCH L 60.8% C 0.167 H 137.1°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#4C9823
RGBrgb(76, 152, 35)
HSLhsl(99, 63%, 37%)
HSVhsv(99, 77%, 60%)
CMYKcmyk(50%, 0%, 77%, 40.4%)
CIE-LABlab(56.20, -43.97, 50.65)
CIE-LCHlch(56.20, 67.07, 130.97°)
OKLaboklab(60.78% -0.122 0.1133)
OKLCHoklch(60.78% 0.167 137.1)
XYZxyz(14.5117, 24.1133, 5.4794)
Luminance0.2411 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C9823 #6F2398
analogous
#879823 #4C9823 #239834
triadic
#4C9823 #234C98 #98234C
tetradic
#4C9823 #238798 #6F2398 #983423
square
#4C9823 #238798 #6F2398 #983423
split-complementary
#4C9823 #342398 #982387
monochromatic
#1A350C #336618 #4C9823 #65CA2E #88D95C

Accessibility & contrast

On white

3.61
#4C9823 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#4C9823 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C9823
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C9823#FFFFFF#000000##000000
##4C98231.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B08
Deuteranopia (green-blind)
#93842F
Tritanopia (blue-blind)
#479282
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4c9823;
/* rgb */ color: rgb(76, 152, 35);
/* oklch */ color: oklch(60.8% 0.167 137.1);
Tailwind
colors: {
  custom: {
    50: '#86b767',
    500: '#4c9823',
    950: '#000000',
  },
}
SCSS
$custom: #4c9823;
$custom-light: #86b767;
$custom-dark: #000000;
JSON
{
  "hex": "#4c9823",
  "rgb": {
    "r": 76,
    "g": 152,
    "b": 35
  },
  "hsl": {
    "h": 98.974,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.6078,
    "c": 0.16651,
    "h": 137.1
  },
  "luminance": 0.24114
}

Semantic roles & 50–950 ramp

primary
#4C9823
secondary
#9B59BE
accent
#42E6AC
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4C9823

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

Preview Lab → · Contrast checker → · Palette generator →

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