#4C8A1E#4C8A1E

#4C8A1E is a mid, vivid yellow-green. Relative luminance 0.198; OKLCH L 57.0% C 0.152 H 135.2°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#4C8A1E
RGBrgb(76, 138, 30)
HSLhsl(94, 64%, 33%)
HSVhsv(94, 78%, 54%)
CMYKcmyk(44.9%, 0%, 78.3%, 45.9%)
CIE-LABlab(51.62, -38.53, 47.94)
CIE-LCHlch(51.62, 61.50, 128.79°)
OKLaboklab(57.01% -0.1077 0.1069)
OKLCHoklch(57.01% 0.152 135.2)
XYZxyz(12.3030, 19.8065, 4.4028)
Luminance0.1981 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8A1E #5C1E8A
analogous
#828A1E #4C8A1E #1E8A26
triadic
#4C8A1E #1E4C8A #8A1E4C
tetradic
#4C8A1E #1E828A #5C1E8A #8A261E
square
#4C8A1E #1E828A #5C1E8A #8A261E
split-complementary
#4C8A1E #261E8A #8A1E82
monochromatic
#152508 #305813 #4C8A1E #68BC29 #87D84B

Accessibility & contrast

On white

4.23
#4C8A1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#4C8A1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8A1E
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8A1E#FFFFFF#000000##000000
##4C8A1E1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E04
Deuteranopia (green-blind)
#877929
Tritanopia (blue-blind)
#4A8576
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4c8a1e;
/* rgb */ color: rgb(76, 138, 30);
/* oklch */ color: oklch(57.0% 0.152 135.2);
Tailwind
colors: {
  custom: {
    50: '#84ad63',
    500: '#4c8a1e',
    950: '#000000',
  },
}
SCSS
$custom: #4c8a1e;
$custom-light: #84ad63;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8a1e",
  "rgb": {
    "r": 76,
    "g": 138,
    "b": 30
  },
  "hsl": {
    "h": 94.444,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57005,
    "c": 0.15172,
    "h": 135.2
  },
  "luminance": 0.19807
}

Semantic roles & 50–950 ramp

primary
#4C8A1E
secondary
#8A4ABA
accent
#41E7A0
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4C8A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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