#4C8A2A#4C8A2A

#4C8A2A is a mid, vivid yellow-green. Relative luminance 0.199; OKLCH L 57.1% C 0.144 H 136.5°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#4C8A2A
RGBrgb(76, 138, 42)
HSLhsl(99, 53%, 35%)
HSVhsv(99, 70%, 54%)
CMYKcmyk(44.9%, 0%, 69.6%, 45.9%)
CIE-LABlab(51.70, -37.64, 43.38)
CIE-LCHlch(51.70, 57.44, 130.94°)
OKLaboklab(57.1% -0.1044 0.0991)
OKLCHoklch(57.1% 0.144 136.5)
XYZxyz(12.4865, 19.8799, 5.3693)
Luminance0.1988 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8A2A #682A8A
analogous
#7C8A2A #4C8A2A #2A8A38
triadic
#4C8A2A #2A4C8A #8A2A4C
tetradic
#4C8A2A #2A7C8A #682A8A #8A382A
square
#4C8A2A #2A7C8A #682A8A #8A382A
split-complementary
#4C8A2A #382A8A #8A2A7C
monochromatic
#182C0D #325B1C #4C8A2A #66B938 #87CF60

Accessibility & contrast

On white

4.22
#4C8A2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#4C8A2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8A2A
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8A2A#FFFFFF#000000##000000
##4C8A2A1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E1C
Deuteranopia (green-blind)
#867932
Tritanopia (blue-blind)
#498577
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4c8a2a;
/* rgb */ color: rgb(76, 138, 42);
/* oklch */ color: oklch(57.1% 0.144 136.5);
Tailwind
colors: {
  custom: {
    50: '#83ad69',
    500: '#4c8a2a',
    950: '#000000',
  },
}
SCSS
$custom: #4c8a2a;
$custom-light: #83ad69;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8a2a",
  "rgb": {
    "r": 76,
    "g": 138,
    "b": 42
  },
  "hsl": {
    "h": 98.75,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.571,
    "c": 0.14395,
    "h": 136.5
  },
  "luminance": 0.19881
}

Semantic roles & 50–950 ramp

primary
#4C8A2A
secondary
#955BB4
accent
#4BDDA9
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4C8A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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