#4C941B#4C941B

#4C941B is a mid, vivid yellow-green. Relative luminance 0.228; OKLCH L 59.7% C 0.166 H 136.1°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#4C941B
RGBrgb(76, 148, 27)
HSLhsl(96, 69%, 34%)
HSVhsv(96, 82%, 58%)
CMYKcmyk(48.6%, 0%, 81.8%, 42%)
CIE-LABlab(54.86, -42.84, 51.96)
CIE-LCHlch(54.86, 67.34, 129.50°)
OKLaboklab(59.66% -0.1195 0.1148)
OKLCHoklch(59.66% 0.166 136.1)
XYZxyz(13.7679, 22.7945, 4.7110)
Luminance0.2280 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C941B #631B94
analogous
#89941B #4C941B #1B9426
triadic
#4C941B #1B4C94 #941B4C
tetradic
#4C941B #1B8994 #631B94 #94261B
square
#4C941B #1B8994 #631B94 #94261B
split-complementary
#4C941B #261B94 #941B89
monochromatic
#172C08 #316012 #4C941B #67C824 #87DE4B

Accessibility & contrast

On white

3.78
#4C941B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#4C941B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C941B
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C941B#FFFFFF#000000##000000
##4C941B1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#908129
Tritanopia (blue-blind)
#498E7E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4c941b;
/* rgb */ color: rgb(76, 148, 27);
/* oklch */ color: oklch(59.7% 0.166 136.1);
Tailwind
colors: {
  custom: {
    50: '#85b463',
    500: '#4c941b',
    950: '#000000',
  },
}
SCSS
$custom: #4c941b;
$custom-light: #85b463;
$custom-dark: #000000;
JSON
{
  "hex": "#4c941b",
  "rgb": {
    "r": 76,
    "g": 148,
    "b": 27
  },
  "hsl": {
    "h": 95.702,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.59663,
    "c": 0.16571,
    "h": 136.1
  },
  "luminance": 0.22795
}

Semantic roles & 50–950 ramp

primary
#4C941B
secondary
#914BC0
accent
#3CECA5
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4C941B

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

Preview Lab → · Contrast checker → · Palette generator →

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