#4B981C#4B981C

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

Color values

HEX#4B981C
RGBrgb(75, 152, 28)
HSLhsl(97, 69%, 35%)
HSVhsv(97, 82%, 60%)
CMYKcmyk(50.7%, 0%, 81.6%, 40.4%)
CIE-LABlab(56.12, -44.70, 52.82)
CIE-LCHlch(56.12, 69.19, 130.24°)
OKLaboklab(60.69% -0.1243 0.1168)
OKLCHoklch(60.69% 0.171 136.8)
XYZxyz(14.3391, 24.0352, 4.9820)
Luminance0.2404 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B981C #691C98
analogous
#89981C #4B981C #1C982B
triadic
#4B981C #1C4B98 #981C4B
tetradic
#4B981C #1C8998 #691C98 #982B1C
square
#4B981C #1C8998 #691C98 #982B1C
split-complementary
#4B981C #2B1C98 #981C89
monochromatic
#183109 #316412 #4B981C #64CC26 #86DF50

Accessibility & contrast

On white

3.62
#4B981C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B981C#FFFFFF#000000##000000
##4B981C1.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#93842B
Tritanopia (blue-blind)
#479281
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4b981c;
/* rgb */ color: rgb(75, 152, 28);
/* oklch */ color: oklch(60.7% 0.171 136.8);
Tailwind
colors: {
  custom: {
    50: '#85b764',
    500: '#4b981c',
    950: '#000000',
  },
}
SCSS
$custom: #4b981c;
$custom-light: #85b764;
$custom-dark: #000000;
JSON
{
  "hex": "#4b981c",
  "rgb": {
    "r": 75,
    "g": 152,
    "b": 28
  },
  "hsl": {
    "h": 97.258,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60693,
    "c": 0.1706,
    "h": 136.8
  },
  "luminance": 0.24036
}

Semantic roles & 50–950 ramp

primary
#4B981C
secondary
#964EC1
accent
#3CECA9
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4B981C

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

Preview Lab → · Contrast checker → · Palette generator →

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