#4C981B#4C981B

#4C981B is a mid, vivid yellow-green. Relative luminance 0.241; OKLCH L 60.7% C 0.171 H 136.5°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#4C981B
RGBrgb(76, 152, 27)
HSLhsl(96, 70%, 35%)
HSVhsv(96, 82%, 60%)
CMYKcmyk(50%, 0%, 82.2%, 40.4%)
CIE-LABlab(56.16, -44.44, 53.16)
CIE-LCHlch(56.16, 69.29, 129.90°)
OKLaboklab(60.73% -0.1238 0.1174)
OKLCHoklch(60.73% 0.171 136.5)
XYZxyz(14.4061, 24.0711, 4.9238)
Luminance0.2407 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C981B #671B98
analogous
#8A981B #4C981B #1B9829
triadic
#4C981B #1B4C98 #981B4C
tetradic
#4C981B #1B8A98 #671B98 #98291B
square
#4C981B #1B8A98 #671B98 #98291B
split-complementary
#4C981B #291B98 #981B8A
monochromatic
#183009 #326412 #4C981B #66CC24 #87E04E

Accessibility & contrast

On white

3.61
#4C981B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#4C981B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C981B
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C981B#FFFFFF#000000##000000
##4C981B1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B00
Deuteranopia (green-blind)
#94842A
Tritanopia (blue-blind)
#489281
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4c981b;
/* rgb */ color: rgb(76, 152, 27);
/* oklch */ color: oklch(60.7% 0.171 136.5);
Tailwind
colors: {
  custom: {
    50: '#86b763',
    500: '#4c981b',
    950: '#000000',
  },
}
SCSS
$custom: #4c981b;
$custom-light: #86b763;
$custom-dark: #000000;
JSON
{
  "hex": "#4c981b",
  "rgb": {
    "r": 76,
    "g": 152,
    "b": 27
  },
  "hsl": {
    "h": 96.48,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60732,
    "c": 0.17056,
    "h": 136.5
  },
  "luminance": 0.24072
}

Semantic roles & 50–950 ramp

primary
#4C981B
secondary
#944DC2
accent
#3BEDA7
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4C981B

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

Preview Lab → · Contrast checker → · Palette generator →

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