#4C8E1B#4C8E1B

#4C8E1B is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.1% C 0.158 H 135.5°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#4C8E1B
RGBrgb(76, 142, 27)
HSLhsl(94, 68%, 33%)
HSVhsv(94, 81%, 56%)
CMYKcmyk(46.5%, 0%, 81%, 44.3%)
CIE-LABlab(52.91, -40.38, 50.14)
CIE-LCHlch(52.91, 64.38, 128.85°)
OKLaboklab(58.06% -0.1129 0.111)
OKLCHoklch(58.06% 0.158 135.5)
XYZxyz(12.8510, 20.9608, 4.4054)
Luminance0.2096 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8E1B #5D1B8E
analogous
#858E1B #4C8E1B #1B8E24
triadic
#4C8E1B #1B4C8E #8E1B4C
tetradic
#4C8E1B #1B858E #5D1B8E #8E241B
square
#4C8E1B #1B858E #5D1B8E #8E241B
split-complementary
#4C8E1B #241B8E #8E1B85
monochromatic
#152707 #305B11 #4C8E1B #68C125 #87DC47

Accessibility & contrast

On white

4.04
#4C8E1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#4C8E1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8E1B
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8E1B#FFFFFF#000000##000000
##4C8E1B1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#8B7C28
Tritanopia (blue-blind)
#4A8879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4c8e1b;
/* rgb */ color: rgb(76, 142, 27);
/* oklch */ color: oklch(58.1% 0.158 135.5);
Tailwind
colors: {
  custom: {
    50: '#85af62',
    500: '#4c8e1b',
    950: '#000000',
  },
}
SCSS
$custom: #4c8e1b;
$custom-light: #85af62;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8e1b",
  "rgb": {
    "r": 76,
    "g": 142,
    "b": 27
  },
  "hsl": {
    "h": 94.435,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.58058,
    "c": 0.15833,
    "h": 135.5
  },
  "luminance": 0.20962
}

Semantic roles & 50–950 ramp

primary
#4C8E1B
secondary
#8B47BE
accent
#3DEBA1
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4C8E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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