#4C8F2A#4C8F2A

#4C8F2A is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.4% C 0.151 H 137.0°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#4C8F2A
RGBrgb(76, 143, 42)
HSLhsl(100, 55%, 36%)
HSVhsv(100, 71%, 56%)
CMYKcmyk(46.9%, 0%, 70.6%, 43.9%)
CIE-LABlab(53.33, -39.76, 45.09)
CIE-LCHlch(53.33, 60.12, 131.41°)
OKLaboklab(58.44% -0.1102 0.1027)
OKLCHoklch(58.44% 0.151 137)
XYZxyz(13.2205, 21.3477, 5.6139)
Luminance0.2135 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8F2A #6D2A8F
analogous
#7F8F2A #4C8F2A #2A8F3B
triadic
#4C8F2A #2A4C8F #8F2A4C
tetradic
#4C8F2A #2A7F8F #6D2A8F #8F3B2A
square
#4C8F2A #2A7F8F #6D2A8F #8F3B2A
split-complementary
#4C8F2A #3B2A8F #8F2A7F
monochromatic
#1A300E #33601C #4C8F2A #65BE38 #88D162

Accessibility & contrast

On white

3.98
#4C8F2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#4C8F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8F2A
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8F2A#FFFFFF#000000##000000
##4C8F2A1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#94831B
Deuteranopia (green-blind)
#8B7D33
Tritanopia (blue-blind)
#488A7B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4c8f2a;
/* rgb */ color: rgb(76, 143, 42);
/* oklch */ color: oklch(58.4% 0.151 137.0);
Tailwind
colors: {
  custom: {
    50: '#84b069',
    500: '#4c8f2a',
    950: '#000000',
  },
}
SCSS
$custom: #4c8f2a;
$custom-light: #84b069;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8f2a",
  "rgb": {
    "r": 76,
    "g": 143,
    "b": 42
  },
  "hsl": {
    "h": 99.802,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.58435,
    "c": 0.1506,
    "h": 137
  },
  "luminance": 0.21349
}

Semantic roles & 50–950 ramp

primary
#4C8F2A
secondary
#995EB7
accent
#4ADEAC
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4C8F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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