#4C8024#4C8024

#4C8024 is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.4% C 0.135 H 134.4°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#4C8024
RGBrgb(76, 128, 36)
HSLhsl(94, 56%, 32%)
HSVhsv(94, 72%, 50%)
CMYKcmyk(40.6%, 0%, 71.9%, 49.8%)
CIE-LABlab(48.39, -33.74, 42.44)
CIE-LCHlch(48.39, 54.22, 128.49°)
OKLaboklab(54.37% -0.0943 0.0963)
OKLCHoklch(54.37% 0.135 134.4)
XYZxyz(11.0179, 17.1017, 4.3891)
Luminance0.1710 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8024 #582480
analogous
#7A8024 #4C8024 #24802A
triadic
#4C8024 #244C80 #80244C
tetradic
#4C8024 #247A80 #582480 #802A24
square
#4C8024 #247A80 #582480 #802A24
split-complementary
#4C8024 #2A2480 #80247A
monochromatic
#132009 #305017 #4C8024 #68B031 #87CE50

Accessibility & contrast

On white

4.75
#4C8024 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#4C8024 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C8024
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8024#FFFFFF#000000##FFFFFF
##4C80241.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857616
Deuteranopia (green-blind)
#7E712C
Tritanopia (blue-blind)
#4B7B6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4c8024;
/* rgb */ color: rgb(76, 128, 36);
/* oklch */ color: oklch(54.4% 0.135 134.4);
Tailwind
colors: {
  custom: {
    50: '#83a564',
    500: '#4c8024',
    950: '#000000',
  },
}
SCSS
$custom: #4c8024;
$custom-light: #83a564;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8024",
  "rgb": {
    "r": 76,
    "g": 128,
    "b": 36
  },
  "hsl": {
    "h": 93.913,
    "s": 56.098,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54373,
    "c": 0.13475,
    "h": 134.4
  },
  "luminance": 0.17102
}

Semantic roles & 50–950 ramp

primary
#4C8024
secondary
#864EB2
accent
#48DF9E
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4C8024

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

Preview Lab → · Contrast checker → · Palette generator →

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