#4C8D1B#4C8D1B

#4C8D1B is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 57.8% C 0.157 H 135.4°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#4C8D1B
RGBrgb(76, 141, 27)
HSLhsl(94, 68%, 33%)
HSVhsv(94, 81%, 55%)
CMYKcmyk(46.1%, 0%, 80.9%, 44.7%)
CIE-LABlab(52.58, -39.97, 49.84)
CIE-LCHlch(52.58, 63.89, 128.73°)
OKLaboklab(57.79% -0.1117 0.1104)
OKLCHoklch(57.79% 0.157 135.4)
XYZxyz(12.7029, 20.6646, 4.3560)
Luminance0.2067 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8D1B #5C1B8D
analogous
#858D1B #4C8D1B #1B8D23
triadic
#4C8D1B #1B4C8D #8D1B4C
tetradic
#4C8D1B #1B858D #5C1B8D #8D231B
square
#4C8D1B #1B858D #5C1B8D #8D231B
split-complementary
#4C8D1B #231B8D #8D1B85
monochromatic
#152607 #305A11 #4C8D1B #68C025 #87DC47

Accessibility & contrast

On white

4.09
#4C8D1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#4C8D1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8D1B
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8D1B#FFFFFF#000000##000000
##4C8D1B1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#8A7C28
Tritanopia (blue-blind)
#4A8778
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4c8d1b;
/* rgb */ color: rgb(76, 141, 27);
/* oklch */ color: oklch(57.8% 0.157 135.4);
Tailwind
colors: {
  custom: {
    50: '#85af62',
    500: '#4c8d1b',
    950: '#000000',
  },
}
SCSS
$custom: #4c8d1b;
$custom-light: #85af62;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8d1b",
  "rgb": {
    "r": 76,
    "g": 141,
    "b": 27
  },
  "hsl": {
    "h": 94.211,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5779,
    "c": 0.15708,
    "h": 135.4
  },
  "luminance": 0.20665
}

Semantic roles & 50–950 ramp

primary
#4C8D1B
secondary
#8A46BD
accent
#3DEBA0
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4C8D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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