#4CB231#4CB231

#4CB231 is a light, vivid green. Relative luminance 0.336; OKLCH L 67.8% C 0.190 H 139.9°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#4CB231
RGBrgb(76, 178, 49)
HSLhsl(107, 57%, 45%)
HSVhsv(107, 72%, 70%)
CMYKcmyk(57.3%, 0%, 72.5%, 30.2%)
CIE-LABlab(64.64, -52.93, 54.02)
CIE-LCHlch(64.64, 75.62, 134.42°)
OKLaboklab(67.76% -0.1453 0.1223)
OKLCHoklch(67.76% 0.19 139.9)
XYZxyz(19.4544, 33.5974, 8.3649)
Luminance0.3360 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4CB231 #9731B2
analogous
#8DB231 #4CB231 #31B257
triadic
#4CB231 #314CB2 #B2314C
tetradic
#4CB231 #318DB2 #9731B2 #B25731
square
#4CB231 #318DB2 #9731B2 #B25731
split-complementary
#4CB231 #5731B2 #B2318D
monochromatic
#235217 #388224 #4CB231 #6BCF51 #94DC81

Accessibility & contrast

On white

2.72
#4CB231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#4CB231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #4CB231
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4CB231#FFFFFF#000000##000000
##4CB2311.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A21A
Deuteranopia (green-blind)
#AA9A3E
Tritanopia (blue-blind)
#40AC99
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #4cb231;
/* rgb */ color: rgb(76, 178, 49);
/* oklch */ color: oklch(67.8% 0.190 139.9);
Tailwind
colors: {
  custom: {
    50: '#89ca71',
    500: '#4cb231',
    950: '#000000',
  },
}
SCSS
$custom: #4cb231;
$custom-light: #89ca71;
$custom-dark: #000000;
JSON
{
  "hex": "#4cb231",
  "rgb": {
    "r": 76,
    "g": 178,
    "b": 49
  },
  "hsl": {
    "h": 107.442,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.67764,
    "c": 0.18993,
    "h": 139.9
  },
  "luminance": 0.33599
}

Semantic roles & 50–950 ramp

primary
#4CB231
secondary
#B679C5
accent
#48E0C0
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0D1308
muted
#7D827B

Preview Lab

Preview with #4CB231

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

Preview Lab → · Contrast checker → · Palette generator →

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