#4C9017#4C9017

#4C9017 is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.6% C 0.163 H 135.4°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#4C9017
RGBrgb(76, 144, 23)
HSLhsl(94, 72%, 33%)
HSVhsv(94, 84%, 56%)
CMYKcmyk(47.2%, 0%, 84%, 43.5%)
CIE-LABlab(53.54, -41.41, 51.90)
CIE-LCHlch(53.54, 66.40, 128.59°)
OKLaboklab(58.57% -0.1159 0.1141)
OKLCHoklch(58.57% 0.163 135.4)
XYZxyz(13.1081, 21.5441, 4.2782)
Luminance0.2155 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C9017 #5B1790
analogous
#889017 #4C9017 #17901E
triadic
#4C9017 #174C90 #90174C
tetradic
#4C9017 #178890 #5B1790 #901E17
square
#4C9017 #178890 #5B1790 #901E17
split-complementary
#4C9017 #1E1790 #901788
monochromatic
#142606 #305B0F #4C9017 #68C51F #87E141

Accessibility & contrast

On white

3.96
#4C9017 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#4C9017 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C9017
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C9017#FFFFFF#000000##000000
##4C90171.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#968300
Deuteranopia (green-blind)
#8D7E26
Tritanopia (blue-blind)
#4A8A7A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4c9017;
/* rgb */ color: rgb(76, 144, 23);
/* oklch */ color: oklch(58.6% 0.163 135.4);
Tailwind
colors: {
  custom: {
    50: '#85b161',
    500: '#4c9017',
    950: '#000000',
  },
}
SCSS
$custom: #4c9017;
$custom-light: #85b161;
$custom-dark: #000000;
JSON
{
  "hex": "#4c9017",
  "rgb": {
    "r": 76,
    "g": 144,
    "b": 23
  },
  "hsl": {
    "h": 93.719,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58572,
    "c": 0.16263,
    "h": 135.4
  },
  "luminance": 0.21545
}

Semantic roles & 50–950 ramp

primary
#4C9017
secondary
#8942C1
accent
#39EF9F
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1105
muted
#7D807A

Preview Lab

Preview with #4C9017

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

Preview Lab → · Contrast checker → · Palette generator →

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