#4C852D#4C852D

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

Color values

HEX#4C852D
RGBrgb(76, 133, 45)
HSLhsl(99, 49%, 35%)
HSVhsv(99, 66%, 52%)
CMYKcmyk(42.9%, 0%, 66.2%, 47.8%)
CIE-LABlab(50.10, -35.18, 40.35)
CIE-LCHlch(50.10, 53.53, 131.09°)
OKLaboklab(55.79% -0.0975 0.0931)
OKLCHoklch(55.79% 0.135 136.3)
XYZxyz(11.8414, 18.5004, 5.4291)
Luminance0.1850 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C852D #662D85
analogous
#78852D #4C852D #2D853A
triadic
#4C852D #2D4C85 #852D4C
tetradic
#4C852D #2D7885 #662D85 #853A2D
square
#4C852D #2D7885 #662D85 #853A2D
split-complementary
#4C852D #3A2D85 #852D78
monochromatic
#182A0E #32571E #4C852D #66B33C #87CA62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C852D#FFFFFF#000000##000000
##4C852D1.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)
#8A7A22
Deuteranopia (green-blind)
#827534
Tritanopia (blue-blind)
#4A8073
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4c852d;
/* rgb */ color: rgb(76, 133, 45);
/* oklch */ color: oklch(55.8% 0.135 136.3);
Tailwind
colors: {
  custom: {
    50: '#83a96a',
    500: '#4c852d',
    950: '#000000',
  },
}
SCSS
$custom: #4c852d;
$custom-light: #83a96a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c852d",
  "rgb": {
    "r": 76,
    "g": 133,
    "b": 45
  },
  "hsl": {
    "h": 98.864,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55795,
    "c": 0.1348,
    "h": 136.3
  },
  "luminance": 0.18501
}

Semantic roles & 50–950 ramp

primary
#4C852D
secondary
#935DB0
accent
#4FD9A8
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4C852D

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

Preview Lab → · Contrast checker → · Palette generator →

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