#4C8623#4C8623

#4C8623 is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 56.0% C 0.143 H 135.2°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#4C8623
RGBrgb(76, 134, 35)
HSLhsl(95, 59%, 33%)
HSVhsv(95, 74%, 53%)
CMYKcmyk(43.3%, 0%, 73.9%, 47.5%)
CIE-LABlab(50.34, -36.47, 44.84)
CIE-LCHlch(50.34, 57.80, 129.12°)
OKLaboklab(55.97% -0.1018 0.1012)
OKLCHoklch(55.97% 0.143 135.2)
XYZxyz(11.8087, 18.7074, 4.5784)
Luminance0.1871 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8623 #5D2386
analogous
#7D8623 #4C8623 #23862C
triadic
#4C8623 #234C86 #86234C
tetradic
#4C8623 #237D86 #5D2386 #862C23
square
#4C8623 #237D86 #5D2386 #862C23
split-complementary
#4C8623 #2C2386 #86237D
monochromatic
#15250A #305516 #4C8623 #68B730 #87D252

Accessibility & contrast

On white

4.43
#4C8623 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#4C8623 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8623
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8623#FFFFFF#000000##000000
##4C86231.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B12
Deuteranopia (green-blind)
#83762C
Tritanopia (blue-blind)
#4B8173
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4c8623;
/* rgb */ color: rgb(76, 134, 35);
/* oklch */ color: oklch(56.0% 0.143 135.2);
Tailwind
colors: {
  custom: {
    50: '#83aa65',
    500: '#4c8623',
    950: '#000000',
  },
}
SCSS
$custom: #4c8623;
$custom-light: #83aa65;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8623",
  "rgb": {
    "r": 76,
    "g": 134,
    "b": 35
  },
  "hsl": {
    "h": 95.152,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55971,
    "c": 0.14349,
    "h": 135.2
  },
  "luminance": 0.18708
}

Semantic roles & 50–950 ramp

primary
#4C8623
secondary
#8B4FB5
accent
#46E2A1
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4C8623

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

Preview Lab → · Contrast checker → · Palette generator →

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