#4C8A29#4C8A29

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

Color values

HEX#4C8A29
RGBrgb(76, 138, 41)
HSLhsl(98, 54%, 35%)
HSVhsv(98, 70%, 54%)
CMYKcmyk(44.9%, 0%, 70.3%, 45.9%)
CIE-LABlab(51.69, -37.72, 43.80)
CIE-LCHlch(51.69, 57.80, 130.74°)
OKLaboklab(57.09% -0.1047 0.0998)
OKLCHoklch(57.09% 0.145 136.4)
XYZxyz(12.4689, 19.8728, 5.2762)
Luminance0.1987 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8A29 #67298A
analogous
#7C8A29 #4C8A29 #298A37
triadic
#4C8A29 #294C8A #8A294C
tetradic
#4C8A29 #297C8A #67298A #8A3729
square
#4C8A29 #297C8A #67298A #8A3729
split-complementary
#4C8A29 #37298A #8A297C
monochromatic
#182C0D #325B1B #4C8A29 #66B937 #87CF5E

Accessibility & contrast

On white

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

On black

4.97
#4C8A29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8A29
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8A29#FFFFFF#000000##000000
##4C8A291.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c8a29;
/* rgb */ color: rgb(76, 138, 41);
/* oklch */ color: oklch(57.1% 0.145 136.4);
Tailwind
colors: {
  custom: {
    50: '#83ad68',
    500: '#4c8a29',
    950: '#000000',
  },
}
SCSS
$custom: #4c8a29;
$custom-light: #83ad68;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8a29",
  "rgb": {
    "r": 76,
    "g": 138,
    "b": 41
  },
  "hsl": {
    "h": 98.351,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.57091,
    "c": 0.14467,
    "h": 136.4
  },
  "luminance": 0.19874
}

Semantic roles & 50–950 ramp

primary
#4C8A29
secondary
#945AB5
accent
#4ADEA8
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4C8A29

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

Preview Lab → · Contrast checker → · Palette generator →

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