#4C8A2C#4C8A2C

#4C8A2C is a mid, vivid yellow-green. Relative luminance 0.199; OKLCH L 57.1% C 0.142 H 136.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#4C8A2C
RGBrgb(76, 138, 44)
HSLhsl(100, 52%, 36%)
HSVhsv(100, 68%, 54%)
CMYKcmyk(44.9%, 0%, 68.1%, 45.9%)
CIE-LABlab(51.72, -37.46, 42.54)
CIE-LCHlch(51.72, 56.69, 131.36°)
OKLaboklab(57.12% -0.1038 0.0976)
OKLCHoklch(57.12% 0.142 136.8)
XYZxyz(12.5232, 19.8946, 5.5625)
Luminance0.1989 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8A2C #6A2C8A
analogous
#7B8A2C #4C8A2C #2C8A3B
triadic
#4C8A2C #2C4C8A #8A2C4C
tetradic
#4C8A2C #2C7B8A #6A2C8A #8A3B2C
square
#4C8A2C #2C7B8A #6A2C8A #8A3B2C
split-complementary
#4C8A2C #3B2C8A #8A2C7B
monochromatic
#192D0E #325C1D #4C8A2C #66B83B #87CD63

Accessibility & contrast

On white

4.22
#4C8A2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#4C8A2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8A2C
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8A2C#FFFFFF#000000##000000
##4C8A2C1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F1F
Deuteranopia (green-blind)
#867934
Tritanopia (blue-blind)
#498577
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4c8a2c;
/* rgb */ color: rgb(76, 138, 44);
/* oklch */ color: oklch(57.1% 0.142 136.8);
Tailwind
colors: {
  custom: {
    50: '#83ad6a',
    500: '#4c8a2c',
    950: '#000000',
  },
}
SCSS
$custom: #4c8a2c;
$custom-light: #83ad6a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8a2c",
  "rgb": {
    "r": 76,
    "g": 138,
    "b": 44
  },
  "hsl": {
    "h": 99.574,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57119,
    "c": 0.14246,
    "h": 136.8
  },
  "luminance": 0.19895
}

Semantic roles & 50–950 ramp

primary
#4C8A2C
secondary
#975EB4
accent
#4DDBAB
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4C8A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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