#4C8B2B#4C8B2B

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

Color values

HEX#4C8B2B
RGBrgb(76, 139, 43)
HSLhsl(99, 53%, 36%)
HSVhsv(99, 69%, 55%)
CMYKcmyk(45.3%, 0%, 69.1%, 45.5%)
CIE-LABlab(52.03, -37.98, 43.31)
CIE-LCHlch(52.03, 57.61, 131.25°)
OKLaboklab(57.38% -0.1053 0.0991)
OKLCHoklch(57.38% 0.145 136.7)
XYZxyz(12.6488, 20.1754, 5.5128)
Luminance0.2018 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8B2B #6A2B8B
analogous
#7C8B2B #4C8B2B #2B8B3A
triadic
#4C8B2B #2B4C8B #8B2B4C
tetradic
#4C8B2B #2B7C8B #6A2B8B #8B3A2B
square
#4C8B2B #2B7C8B #6A2B8B #8B3A2B
split-complementary
#4C8B2B #3A2B8B #8B2B7C
monochromatic
#192E0E #325C1D #4C8B2B #66BA39 #87CE62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C8B2B#FFFFFF#000000##000000
##4C8B2B1.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)
#907F1E
Deuteranopia (green-blind)
#877A33
Tritanopia (blue-blind)
#498678
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4c8b2b;
/* rgb */ color: rgb(76, 139, 43);
/* oklch */ color: oklch(57.4% 0.145 136.7);
Tailwind
colors: {
  custom: {
    50: '#83ad6a',
    500: '#4c8b2b',
    950: '#000000',
  },
}
SCSS
$custom: #4c8b2b;
$custom-light: #83ad6a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8b2b",
  "rgb": {
    "r": 76,
    "g": 139,
    "b": 43
  },
  "hsl": {
    "h": 99.375,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57377,
    "c": 0.14456,
    "h": 136.7
  },
  "luminance": 0.20176
}

Semantic roles & 50–950 ramp

primary
#4C8B2B
secondary
#975DB5
accent
#4CDCAA
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4C8B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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