#4C9015#4C9015

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

Color values

HEX#4C9015
RGBrgb(76, 144, 21)
HSLhsl(93, 75%, 32%)
HSVhsv(93, 85%, 56%)
CMYKcmyk(47.2%, 0%, 85.4%, 43.5%)
CIE-LABlab(53.53, -41.50, 52.43)
CIE-LCHlch(53.53, 66.87, 128.36°)
OKLaboklab(58.56% -0.1162 0.1149)
OKLCHoklch(58.56% 0.163 135.3)
XYZxyz(13.0888, 21.5363, 4.1766)
Luminance0.2154 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C9015 #591590
analogous
#899015 #4C9015 #15901C
triadic
#4C9015 #154C90 #90154C
tetradic
#4C9015 #158990 #591590 #901C15
square
#4C9015 #158990 #591590 #901C15
split-complementary
#4C9015 #1C1590 #901589
monochromatic
#142505 #305B0D #4C9015 #68C51D #87E33D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C9015#FFFFFF#000000##000000
##4C90151.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)
#8D7E25
Tritanopia (blue-blind)
#4A8A7A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4c9015;
/* rgb */ color: rgb(76, 144, 21);
/* oklch */ color: oklch(58.6% 0.163 135.3);
Tailwind
colors: {
  custom: {
    50: '#85b160',
    500: '#4c9015',
    950: '#000000',
  },
}
SCSS
$custom: #4c9015;
$custom-light: #85b160;
$custom-dark: #000000;
JSON
{
  "hex": "#4c9015",
  "rgb": {
    "r": 76,
    "g": 144,
    "b": 21
  },
  "hsl": {
    "h": 93.171,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58563,
    "c": 0.16345,
    "h": 135.3
  },
  "luminance": 0.21537
}

Semantic roles & 50–950 ramp

primary
#4C9015
secondary
#873EC2
accent
#37F19E
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1105
muted
#7D807A

Preview Lab

Preview with #4C9015

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

Preview Lab → · Contrast checker → · Palette generator →

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