#4C852F#4C852F

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

Color values

HEX#4C852F
RGBrgb(76, 133, 47)
HSLhsl(100, 48%, 35%)
HSVhsv(100, 65%, 52%)
CMYKcmyk(42.9%, 0%, 64.7%, 47.8%)
CIE-LABlab(50.12, -34.98, 39.45)
CIE-LCHlch(50.12, 52.73, 131.56°)
OKLaboklab(55.82% -0.0968 0.0914)
OKLCHoklch(55.82% 0.133 136.6)
XYZxyz(11.8808, 18.5161, 5.6367)
Luminance0.1852 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C852F #682F85
analogous
#77852F #4C852F #2F853D
triadic
#4C852F #2F4C85 #852F4C
tetradic
#4C852F #2F7785 #682F85 #853D2F
square
#4C852F #2F7785 #682F85 #853D2F
split-complementary
#4C852F #3D2F85 #852F77
monochromatic
#182B0F #32581F #4C852F #66B23F #87C966

Accessibility & contrast

On white

4.46
#4C852F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C852F#FFFFFF#000000##000000
##4C852F1.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A25
Deuteranopia (green-blind)
#827536
Tritanopia (blue-blind)
#4A8073
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4c852f;
/* rgb */ color: rgb(76, 133, 47);
/* oklch */ color: oklch(55.8% 0.133 136.6);
Tailwind
colors: {
  custom: {
    50: '#83a96b',
    500: '#4c852f',
    950: '#000000',
  },
}
SCSS
$custom: #4c852f;
$custom-light: #83a96b;
$custom-dark: #000000;
JSON
{
  "hex": "#4c852f",
  "rgb": {
    "r": 76,
    "g": 133,
    "b": 47
  },
  "hsl": {
    "h": 99.767,
    "s": 47.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.55817,
    "c": 0.13317,
    "h": 136.6
  },
  "luminance": 0.18517
}

Semantic roles & 50–950 ramp

primary
#4C852F
secondary
#9560B0
accent
#50D7AA
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4C852F

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

Preview Lab → · Contrast checker → · Palette generator →

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