#4C8A2B#4C8A2B

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

Color values

HEX#4C8A2B
RGBrgb(76, 138, 43)
HSLhsl(99, 52%, 35%)
HSVhsv(99, 69%, 54%)
CMYKcmyk(44.9%, 0%, 68.8%, 45.9%)
CIE-LABlab(51.71, -37.55, 42.97)
CIE-LCHlch(51.71, 57.06, 131.15°)
OKLaboklab(57.11% -0.1041 0.0984)
OKLCHoklch(57.11% 0.143 136.6)
XYZxyz(12.5047, 19.8871, 5.4647)
Luminance0.1989 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8A2B #692B8A
analogous
#7B8A2B #4C8A2B #2B8A39
triadic
#4C8A2B #2B4C8A #8A2B4C
tetradic
#4C8A2B #2B7B8A #692B8A #8A392B
square
#4C8A2B #2B7B8A #692B8A #8A392B
split-complementary
#4C8A2B #392B8A #8A2B7B
monochromatic
#192D0E #325B1C #4C8A2B #66B93A #87CE61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C8A2B#FFFFFF#000000##000000
##4C8A2B1.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)
#8F7F1E
Deuteranopia (green-blind)
#867933
Tritanopia (blue-blind)
#498577
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4c8a2b;
/* rgb */ color: rgb(76, 138, 43);
/* oklch */ color: oklch(57.1% 0.143 136.6);
Tailwind
colors: {
  custom: {
    50: '#83ad69',
    500: '#4c8a2b',
    950: '#000000',
  },
}
SCSS
$custom: #4c8a2b;
$custom-light: #83ad69;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8a2b",
  "rgb": {
    "r": 76,
    "g": 138,
    "b": 43
  },
  "hsl": {
    "h": 99.158,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.5711,
    "c": 0.14321,
    "h": 136.6
  },
  "luminance": 0.19888
}

Semantic roles & 50–950 ramp

primary
#4C8A2B
secondary
#965DB4
accent
#4CDCAA
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4C8A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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