#4CB21F#4CB21F

#4CB21F is a light, vivid green. Relative luminance 0.335; OKLCH L 67.7% C 0.199 H 138.6°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#4CB21F
RGBrgb(76, 178, 31)
HSLhsl(102, 70%, 41%)
HSVhsv(102, 83%, 70%)
CMYKcmyk(57.3%, 0%, 82.6%, 30.2%)
CIE-LABlab(64.54, -54.06, 59.72)
CIE-LCHlch(64.54, 80.55, 132.15°)
OKLaboklab(67.65% -0.1493 0.1317)
OKLCHoklch(67.65% 0.199 138.6)
XYZxyz(19.1475, 33.4746, 6.7483)
Luminance0.3348 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4CB21F #851FB2
analogous
#95B21F #4CB21F #1FB23C
triadic
#4CB21F #1F4CB2 #B21F4C
tetradic
#4CB21F #1F95B2 #851FB2 #B23C1F
square
#4CB21F #1F95B2 #851FB2 #B23C1F
split-complementary
#4CB21F #3C1FB2 #B21F95
monochromatic
#1F4A0D #367E16 #4CB21F #66DB33 #8DE567

Accessibility & contrast

On white

2.73
#4CB21F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#4CB21F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #4CB21F
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4CB21F#FFFFFF#000000##000000
##4CB21F1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#AB9932
Tritanopia (blue-blind)
#42AC98
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #4cb21f;
/* rgb */ color: rgb(76, 178, 31);
/* oklch */ color: oklch(67.7% 0.199 138.6);
Tailwind
colors: {
  custom: {
    50: '#8aca69',
    500: '#4cb21f',
    950: '#000000',
  },
}
SCSS
$custom: #4cb21f;
$custom-light: #8aca69;
$custom-dark: #000000;
JSON
{
  "hex": "#4cb21f",
  "rgb": {
    "r": 76,
    "g": 178,
    "b": 31
  },
  "hsl": {
    "h": 101.633,
    "s": 70.335,
    "l": 40.98
  },
  "oklch": {
    "l": 0.67652,
    "c": 0.19912,
    "h": 138.6
  },
  "luminance": 0.33476
}

Semantic roles & 50–950 ramp

primary
#4CB21F
secondary
#AA63CA
accent
#3BEDB6
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #4CB21F

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

Preview Lab → · Contrast checker → · Palette generator →

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