#4C8B1B#4C8B1B

#4C8B1B is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.3% C 0.155 H 135.1°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#4C8B1B
RGBrgb(76, 139, 27)
HSLhsl(94, 67%, 33%)
HSVhsv(94, 81%, 55%)
CMYKcmyk(45.3%, 0%, 80.6%, 45.5%)
CIE-LABlab(51.93, -39.13, 49.23)
CIE-LCHlch(51.93, 62.88, 128.48°)
OKLaboklab(57.25% -0.1095 0.1091)
OKLCHoklch(57.25% 0.155 135.1)
XYZxyz(12.4107, 20.0801, 4.2586)
Luminance0.2008 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8B1B #5A1B8B
analogous
#848B1B #4C8B1B #1B8B22
triadic
#4C8B1B #1B4C8B #8B1B4C
tetradic
#4C8B1B #1B848B #5A1B8B #8B221B
square
#4C8B1B #1B848B #5A1B8B #8B221B
split-complementary
#4C8B1B #221B8B #8B1B84
monochromatic
#142507 #305811 #4C8B1B #68BE25 #87DB45

Accessibility & contrast

On white

4.19
#4C8B1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#4C8B1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8B1B
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8B1B#FFFFFF#000000##000000
##4C8B1B1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#887A28
Tritanopia (blue-blind)
#4A8576
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4c8b1b;
/* rgb */ color: rgb(76, 139, 27);
/* oklch */ color: oklch(57.3% 0.155 135.1);
Tailwind
colors: {
  custom: {
    50: '#84ad61',
    500: '#4c8b1b',
    950: '#000000',
  },
}
SCSS
$custom: #4c8b1b;
$custom-light: #84ad61;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8b1b",
  "rgb": {
    "r": 76,
    "g": 139,
    "b": 27
  },
  "hsl": {
    "h": 93.75,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57254,
    "c": 0.15457,
    "h": 135.1
  },
  "luminance": 0.20081
}

Semantic roles & 50–950 ramp

primary
#4C8B1B
secondary
#8845BC
accent
#3DEA9F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #4C8B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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