#4CB417#4CB417

#4CB417 is a light, highly saturated yellow-green. Relative luminance 0.342; OKLCH L 68.1% C 0.204 H 138.3°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#4CB417
RGBrgb(76, 180, 23)
HSLhsl(100, 77%, 40%)
HSVhsv(100, 87%, 71%)
CMYKcmyk(57.8%, 0%, 87.2%, 29.4%)
CIE-LABlab(65.15, -55.12, 62.18)
CIE-LCHlch(65.15, 83.09, 131.56°)
OKLaboklab(68.15% -0.1525 0.1358)
OKLCHoklch(68.15% 0.204 138.3)
XYZxyz(19.4557, 34.2392, 6.3940)
Luminance0.3424 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4CB417 #7F17B4
analogous
#9BB417 #4CB417 #17B430
triadic
#4CB417 #174CB4 #B4174C
tetradic
#4CB417 #179BB4 #7F17B4 #B43017
square
#4CB417 #179BB4 #7F17B4 #B43017
split-complementary
#4CB417 #3017B4 #B4179B
monochromatic
#1E4709 #357E10 #4CB417 #65E325 #8CEA5B

Accessibility & contrast

On white

2.68
#4CB417 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#4CB417 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #4CB417
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4CB417#FFFFFF#000000##000000
##4CB4171.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA300
Deuteranopia (green-blind)
#AD9B2E
Tritanopia (blue-blind)
#42AD99
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #4cb417;
/* rgb */ color: rgb(76, 180, 23);
/* oklch */ color: oklch(68.1% 0.204 138.3);
Tailwind
colors: {
  custom: {
    50: '#8acb66',
    500: '#4cb417',
    950: '#000000',
  },
}
SCSS
$custom: #4cb417;
$custom-light: #8acb66;
$custom-dark: #000000;
JSON
{
  "hex": "#4cb417",
  "rgb": {
    "r": 76,
    "g": 180,
    "b": 23
  },
  "hsl": {
    "h": 99.745,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.68145,
    "c": 0.20423,
    "h": 138.3
  },
  "luminance": 0.34241
}

Semantic roles & 50–950 ramp

primary
#4CB417
secondary
#A659CE
accent
#34F4B3
background
#F9FCF6
surface
#F1F9EB
border
#CBD2C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #4CB417

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

Preview Lab → · Contrast checker → · Palette generator →

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