#4CB128#4CB128

#4CB128 is a light, vivid green. Relative luminance 0.331; OKLCH L 67.4% C 0.194 H 139.1°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#4CB128
RGBrgb(76, 177, 40)
HSLhsl(104, 63%, 43%)
HSVhsv(104, 77%, 69%)
CMYKcmyk(57.1%, 0%, 77.4%, 30.6%)
CIE-LABlab(64.27, -53.19, 56.79)
CIE-LCHlch(64.27, 77.81, 133.13°)
OKLaboklab(67.44% -0.1465 0.1269)
OKLCHoklch(67.44% 0.194 139.1)
XYZxyz(19.0849, 33.1324, 7.3965)
Luminance0.3313 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4CB128 #8D28B1
analogous
#90B128 #4CB128 #28B149
triadic
#4CB128 #284CB1 #B1284C
tetradic
#4CB128 #2890B1 #8D28B1 #B14928
square
#4CB128 #2890B1 #8D28B1 #B14928
split-complementary
#4CB128 #4928B1 #B12890
monochromatic
#214D11 #377F1D #4CB128 #68D442 #90E074

Accessibility & contrast

On white

2.75
#4CB128 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#4CB128 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #4CB128
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4CB128#FFFFFF#000000##000000
##4CB1281.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A103
Deuteranopia (green-blind)
#AA9937
Tritanopia (blue-blind)
#41AB97
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #4cb128;
/* rgb */ color: rgb(76, 177, 40);
/* oklch */ color: oklch(67.4% 0.194 139.1);
Tailwind
colors: {
  custom: {
    50: '#89c96d',
    500: '#4cb128',
    950: '#000000',
  },
}
SCSS
$custom: #4cb128;
$custom-light: #89c96d;
$custom-dark: #000000;
JSON
{
  "hex": "#4cb128",
  "rgb": {
    "r": 76,
    "g": 177,
    "b": 40
  },
  "hsl": {
    "h": 104.234,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.67438,
    "c": 0.19382,
    "h": 139.1
  },
  "luminance": 0.33134
}

Semantic roles & 50–950 ramp

primary
#4CB128
secondary
#AF6EC7
accent
#42E6BB
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #4CB128

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

Preview Lab → · Contrast checker → · Palette generator →

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