#4C852A#4C852A

#4C852A is a mid, vivid yellow-green. Relative luminance 0.185; OKLCH L 55.8% C 0.137 H 135.9°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#4C852A
RGBrgb(76, 133, 42)
HSLhsl(98, 52%, 34%)
HSVhsv(98, 68%, 52%)
CMYKcmyk(42.9%, 0%, 68.4%, 47.8%)
CIE-LABlab(50.07, -35.46, 41.65)
CIE-LCHlch(50.07, 54.70, 130.41°)
OKLaboklab(55.77% -0.0985 0.0955)
OKLCHoklch(55.77% 0.137 135.9)
XYZxyz(11.7856, 18.4781, 5.1357)
Luminance0.1848 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C852A #632A85
analogous
#7A852A #4C852A #2A8535
triadic
#4C852A #2A4C85 #852A4C
tetradic
#4C852A #2A7A85 #632A85 #85352A
square
#4C852A #2A7A85 #632A85 #85352A
split-complementary
#4C852A #352A85 #852A7A
monochromatic
#17280D #31561B #4C852A #67B439 #87CC5D

Accessibility & contrast

On white

4.47
#4C852A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#4C852A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C852A
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C852A#FFFFFF#000000##000000
##4C852A1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A1E
Deuteranopia (green-blind)
#827532
Tritanopia (blue-blind)
#4A8072
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4c852a;
/* rgb */ color: rgb(76, 133, 42);
/* oklch */ color: oklch(55.8% 0.137 135.9);
Tailwind
colors: {
  custom: {
    50: '#83a968',
    500: '#4c852a',
    950: '#000000',
  },
}
SCSS
$custom: #4c852a;
$custom-light: #83a968;
$custom-dark: #000000;
JSON
{
  "hex": "#4c852a",
  "rgb": {
    "r": 76,
    "g": 133,
    "b": 42
  },
  "hsl": {
    "h": 97.582,
    "s": 52,
    "l": 34.314
  },
  "oklch": {
    "l": 0.55765,
    "c": 0.13716,
    "h": 135.9
  },
  "luminance": 0.18479
}

Semantic roles & 50–950 ramp

primary
#4C852A
secondary
#9159B2
accent
#4CDBA6
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4C852A

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

Preview Lab → · Contrast checker → · Palette generator →

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