#4C8B2A#4C8B2A

#4C8B2A is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.4% C 0.145 H 136.6°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#4C8B2A
RGBrgb(76, 139, 42)
HSLhsl(99, 54%, 35%)
HSVhsv(99, 70%, 55%)
CMYKcmyk(45.3%, 0%, 69.8%, 45.5%)
CIE-LABlab(52.03, -38.07, 43.73)
CIE-LCHlch(52.03, 57.98, 131.04°)
OKLaboklab(57.37% -0.1056 0.0998)
OKLCHoklch(57.37% 0.145 136.6)
XYZxyz(12.6307, 20.1681, 5.4173)
Luminance0.2017 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8B2A #692A8B
analogous
#7C8B2A #4C8B2A #2A8B38
triadic
#4C8B2A #2A4C8B #8B2A4C
tetradic
#4C8B2A #2A7C8B #692A8B #8B382A
square
#4C8B2A #2A7C8B #692A8B #8B382A
split-complementary
#4C8B2A #382A8B #8B2A7C
monochromatic
#192D0E #325C1C #4C8B2A #66BA38 #87CF60

Accessibility & contrast

On white

4.17
#4C8B2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#4C8B2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8B2A
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8B2A#FFFFFF#000000##000000
##4C8B2A1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F1C
Deuteranopia (green-blind)
#877A33
Tritanopia (blue-blind)
#498677
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4c8b2a;
/* rgb */ color: rgb(76, 139, 42);
/* oklch */ color: oklch(57.4% 0.145 136.6);
Tailwind
colors: {
  custom: {
    50: '#84ad69',
    500: '#4c8b2a',
    950: '#000000',
  },
}
SCSS
$custom: #4c8b2a;
$custom-light: #84ad69;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8b2a",
  "rgb": {
    "r": 76,
    "g": 139,
    "b": 42
  },
  "hsl": {
    "h": 98.969,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57367,
    "c": 0.14529,
    "h": 136.6
  },
  "luminance": 0.20169
}

Semantic roles & 50–950 ramp

primary
#4C8B2A
secondary
#965CB5
accent
#4BDDAA
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4C8B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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