#4C8B2C#4C8B2C

#4C8B2C is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.4% C 0.144 H 136.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4C8B2C
RGBrgb(76, 139, 44)
HSLhsl(100, 52%, 36%)
HSVhsv(100, 68%, 55%)
CMYKcmyk(45.3%, 0%, 68.3%, 45.5%)
CIE-LABlab(52.04, -37.89, 42.89)
CIE-LCHlch(52.04, 57.23, 131.46°)
OKLaboklab(57.39% -0.1049 0.0983)
OKLCHoklch(57.39% 0.144 136.9)
XYZxyz(12.6674, 20.1828, 5.6106)
Luminance0.2018 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8B2C #6B2C8B
analogous
#7B8B2C #4C8B2C #2C8B3B
triadic
#4C8B2C #2C4C8B #8B2C4C
tetradic
#4C8B2C #2C7B8B #6B2C8B #8B3B2C
square
#4C8B2C #2C7B8B #6B2C8B #8B3B2C
split-complementary
#4C8B2C #3B2C8B #8B2C7B
monochromatic
#192E0F #335D1D #4C8B2C #65B93B #87CE64

Accessibility & contrast

On white

4.17
#4C8B2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#4C8B2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8B2C
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8B2C#FFFFFF#000000##000000
##4C8B2C1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F1F
Deuteranopia (green-blind)
#877A34
Tritanopia (blue-blind)
#498678
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4c8b2c;
/* rgb */ color: rgb(76, 139, 44);
/* oklch */ color: oklch(57.4% 0.144 136.9);
Tailwind
colors: {
  custom: {
    50: '#83ad6a',
    500: '#4c8b2c',
    950: '#000000',
  },
}
SCSS
$custom: #4c8b2c;
$custom-light: #83ad6a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8b2c",
  "rgb": {
    "r": 76,
    "g": 139,
    "b": 44
  },
  "hsl": {
    "h": 99.789,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57386,
    "c": 0.14382,
    "h": 136.9
  },
  "luminance": 0.20184
}

Semantic roles & 50–950 ramp

primary
#4C8B2C
secondary
#975FB4
accent
#4CDBAB
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4C8B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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