#4C8124#4C8124

#4C8124 is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.6% C 0.136 H 134.6°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#4C8124
RGBrgb(76, 129, 36)
HSLhsl(94, 56%, 32%)
HSVhsv(94, 72%, 51%)
CMYKcmyk(41.1%, 0%, 72.1%, 49.4%)
CIE-LABlab(48.72, -34.19, 42.78)
CIE-LCHlch(48.72, 54.76, 128.63°)
OKLaboklab(54.64% -0.0955 0.097)
OKLCHoklch(54.64% 0.136 134.6)
XYZxyz(11.1490, 17.3638, 4.4328)
Luminance0.1736 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8124 #592481
analogous
#7A8124 #4C8124 #24812B
triadic
#4C8124 #244C81 #81244C
tetradic
#4C8124 #247A81 #592481 #812B24
square
#4C8124 #247A81 #592481 #812B24
split-complementary
#4C8124 #2B2481 #81247A
monochromatic
#142109 #305117 #4C8124 #68B131 #87CE51

Accessibility & contrast

On white

4.70
#4C8124 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#4C8124 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C8124
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8124#FFFFFF#000000##FFFFFF
##4C81241.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867615
Deuteranopia (green-blind)
#7F722C
Tritanopia (blue-blind)
#4B7C6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4c8124;
/* rgb */ color: rgb(76, 129, 36);
/* oklch */ color: oklch(54.6% 0.136 134.6);
Tailwind
colors: {
  custom: {
    50: '#83a665',
    500: '#4c8124',
    950: '#000000',
  },
}
SCSS
$custom: #4c8124;
$custom-light: #83a665;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8124",
  "rgb": {
    "r": 76,
    "g": 129,
    "b": 36
  },
  "hsl": {
    "h": 94.194,
    "s": 56.364,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5464,
    "c": 0.13611,
    "h": 134.6
  },
  "luminance": 0.17364
}

Semantic roles & 50–950 ramp

primary
#4C8124
secondary
#874EB2
accent
#48E09E
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4C8124

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

Preview Lab → · Contrast checker → · Palette generator →

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