#4C981F#4C981F

#4C981F is a mid, vivid yellow-green. Relative luminance 0.241; OKLCH L 60.8% C 0.169 H 136.8°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#4C981F
RGBrgb(76, 152, 31)
HSLhsl(98, 66%, 36%)
HSVhsv(98, 80%, 60%)
CMYKcmyk(50%, 0%, 79.6%, 40.4%)
CIE-LABlab(56.18, -44.22, 51.96)
CIE-LCHlch(56.18, 68.23, 130.40°)
OKLaboklab(60.76% -0.1229 0.1154)
OKLCHoklch(60.76% 0.169 136.8)
XYZxyz(14.4556, 24.0909, 5.1843)
Luminance0.2409 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C981F #6B1F98
analogous
#88981F #4C981F #1F982E
triadic
#4C981F #1F4C98 #981F4C
tetradic
#4C981F #1F8898 #6B1F98 #982E1F
square
#4C981F #1F8898 #6B1F98 #982E1F
split-complementary
#4C981F #2E1F98 #981F88
monochromatic
#19320A #336515 #4C981F #65CB29 #87DC55

Accessibility & contrast

On white

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

On black

5.82
#4C981F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C981F
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C981F#FFFFFF#000000##000000
##4C981F1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B00
Deuteranopia (green-blind)
#93842D
Tritanopia (blue-blind)
#489282
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4c981f;
/* rgb */ color: rgb(76, 152, 31);
/* oklch */ color: oklch(60.8% 0.169 136.8);
Tailwind
colors: {
  custom: {
    50: '#86b765',
    500: '#4c981f',
    950: '#000000',
  },
}
SCSS
$custom: #4c981f;
$custom-light: #86b765;
$custom-dark: #000000;
JSON
{
  "hex": "#4c981f",
  "rgb": {
    "r": 76,
    "g": 152,
    "b": 31
  },
  "hsl": {
    "h": 97.686,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.60755,
    "c": 0.16864,
    "h": 136.8
  },
  "luminance": 0.24092
}

Semantic roles & 50–950 ramp

primary
#4C981F
secondary
#9753C0
accent
#3FE9AA
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4C981F

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

Preview Lab → · Contrast checker → · Palette generator →

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