#4C8B29#4C8B29

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

Color values

HEX#4C8B29
RGBrgb(76, 139, 41)
HSLhsl(99, 54%, 35%)
HSVhsv(99, 71%, 55%)
CMYKcmyk(45.3%, 0%, 70.5%, 45.5%)
CIE-LABlab(52.02, -38.15, 44.14)
CIE-LCHlch(52.02, 58.34, 130.84°)
OKLaboklab(57.36% -0.1059 0.1006)
OKLCHoklch(57.36% 0.146 136.5)
XYZxyz(12.6130, 20.1611, 5.3243)
Luminance0.2016 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8B29 #68298B
analogous
#7D8B29 #4C8B29 #298B37
triadic
#4C8B29 #294C8B #8B294C
tetradic
#4C8B29 #297D8B #68298B #8B3729
square
#4C8B29 #297D8B #68298B #8B3729
split-complementary
#4C8B29 #37298B #8B297D
monochromatic
#182C0D #325C1B #4C8B29 #66BA37 #87D05F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C8B29#FFFFFF#000000##000000
##4C8B291.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)
#907F1A
Deuteranopia (green-blind)
#877A32
Tritanopia (blue-blind)
#498677
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4c8b29;
/* rgb */ color: rgb(76, 139, 41);
/* oklch */ color: oklch(57.4% 0.146 136.5);
Tailwind
colors: {
  custom: {
    50: '#84ad68',
    500: '#4c8b29',
    950: '#000000',
  },
}
SCSS
$custom: #4c8b29;
$custom-light: #84ad68;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8b29",
  "rgb": {
    "r": 76,
    "g": 139,
    "b": 41
  },
  "hsl": {
    "h": 98.571,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57358,
    "c": 0.14602,
    "h": 136.5
  },
  "luminance": 0.20162
}

Semantic roles & 50–950 ramp

primary
#4C8B29
secondary
#955BB5
accent
#4ADEA9
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4C8B29

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

Preview Lab → · Contrast checker → · Palette generator →

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