#4C8729#4C8729

#4C8729 is a mid, vivid yellow-green. Relative luminance 0.190; OKLCH L 56.3% C 0.141 H 136.0°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#4C8729
RGBrgb(76, 135, 41)
HSLhsl(98, 53%, 35%)
HSVhsv(98, 70%, 53%)
CMYKcmyk(43.7%, 0%, 69.6%, 47.1%)
CIE-LABlab(50.72, -36.42, 42.77)
CIE-LCHlch(50.72, 56.18, 130.42°)
OKLaboklab(56.29% -0.1012 0.0977)
OKLCHoklch(56.29% 0.141 136)
XYZxyz(12.0444, 19.0239, 5.1347)
Luminance0.1903 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8729 #642987
analogous
#7B8729 #4C8729 #298735
triadic
#4C8729 #294C87 #87294C
tetradic
#4C8729 #297B87 #642987 #873529
square
#4C8729 #297B87 #642987 #873529
split-complementary
#4C8729 #352987 #87297B
monochromatic
#17290C #32581B #4C8729 #66B637 #87CE5D

Accessibility & contrast

On white

4.37
#4C8729 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#4C8729 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8729
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8729#FFFFFF#000000##000000
##4C87291.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C1C
Deuteranopia (green-blind)
#847731
Tritanopia (blue-blind)
#4A8274
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4c8729;
/* rgb */ color: rgb(76, 135, 41);
/* oklch */ color: oklch(56.3% 0.141 136.0);
Tailwind
colors: {
  custom: {
    50: '#83aa68',
    500: '#4c8729',
    950: '#000000',
  },
}
SCSS
$custom: #4c8729;
$custom-light: #83aa68;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8729",
  "rgb": {
    "r": 76,
    "g": 135,
    "b": 41
  },
  "hsl": {
    "h": 97.66,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.5629,
    "c": 0.14064,
    "h": 136
  },
  "luminance": 0.19025
}

Semantic roles & 50–950 ramp

primary
#4C8729
secondary
#9159B3
accent
#4BDDA7
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4C8729

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

Preview Lab → · Contrast checker → · Palette generator →

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