#4C8229#4C8229

#4C8229 is a mid, vivid yellow-green. Relative luminance 0.177; OKLCH L 55.0% C 0.134 H 135.4°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#4C8229
RGBrgb(76, 130, 41)
HSLhsl(96, 52%, 34%)
HSVhsv(96, 68%, 51%)
CMYKcmyk(41.5%, 0%, 68.5%, 49%)
CIE-LABlab(49.08, -34.21, 41.04)
CIE-LCHlch(49.08, 53.43, 129.82°)
OKLaboklab(54.95% -0.0952 0.094)
OKLCHoklch(54.95% 0.134 135.4)
XYZxyz(11.3631, 17.6613, 4.9076)
Luminance0.1766 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8229 #5F2982
analogous
#788229 #4C8229 #298232
triadic
#4C8229 #294C82 #82294C
tetradic
#4C8229 #297882 #5F2982 #823229
square
#4C8229 #297882 #5F2982 #823229
split-complementary
#4C8229 #322982 #822978
monochromatic
#16250C #31531A #4C8229 #67B138 #87CB5A

Accessibility & contrast

On white

4.63
#4C8229 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#4C8229 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4C8229
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8229#FFFFFF#000000##FFFFFF
##4C82291.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87771D
Deuteranopia (green-blind)
#7F7331
Tritanopia (blue-blind)
#4B7D70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4c8229;
/* rgb */ color: rgb(76, 130, 41);
/* oklch */ color: oklch(55.0% 0.134 135.4);
Tailwind
colors: {
  custom: {
    50: '#82a767',
    500: '#4c8229',
    950: '#000000',
  },
}
SCSS
$custom: #4c8229;
$custom-light: #82a767;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8229",
  "rgb": {
    "r": 76,
    "g": 130,
    "b": 41
  },
  "hsl": {
    "h": 96.404,
    "s": 52.047,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54954,
    "c": 0.13379,
    "h": 135.4
  },
  "luminance": 0.17662
}

Semantic roles & 50–950 ramp

primary
#4C8229
secondary
#8D56B0
accent
#4CDBA3
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4C8229

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

Preview Lab → · Contrast checker → · Palette generator →

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