#4CB31C#4CB31C

#4CB31C is a light, highly saturated green. Relative luminance 0.339; OKLCH L 67.9% C 0.201 H 138.5°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#4CB31C
RGBrgb(76, 179, 28)
HSLhsl(101, 73%, 41%)
HSVhsv(101, 84%, 70%)
CMYKcmyk(57.5%, 0%, 84.4%, 29.8%)
CIE-LABlab(64.85, -54.56, 60.77)
CIE-LCHlch(64.85, 81.67, 131.92°)
OKLaboklab(67.9% -0.1508 0.1335)
OKLCHoklch(67.9% 0.201 138.5)
XYZxyz(19.3094, 33.8589, 6.6163)
Luminance0.3386 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4CB31C #831CB3
analogous
#97B31C #4CB31C #1CB337
triadic
#4CB31C #1C4CB3 #B31C4C
tetradic
#4CB31C #1C97B3 #831CB3 #B3371C
square
#4CB31C #1C97B3 #831CB3 #B3371C
split-complementary
#4CB31C #371CB3 #B31C97
monochromatic
#1F490B #367E14 #4CB31C #66DE2E #8DE763

Accessibility & contrast

On white

2.70
#4CB31C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#4CB31C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #4CB31C
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4CB31C#FFFFFF#000000##000000
##4CB31C1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#AC9A30
Tritanopia (blue-blind)
#42AD98
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #4cb31c;
/* rgb */ color: rgb(76, 179, 28);
/* oklch */ color: oklch(67.9% 0.201 138.5);
Tailwind
colors: {
  custom: {
    50: '#8acb68',
    500: '#4cb31c',
    950: '#000000',
  },
}
SCSS
$custom: #4cb31c;
$custom-light: #8acb68;
$custom-dark: #000000;
JSON
{
  "hex": "#4cb31c",
  "rgb": {
    "r": 76,
    "g": 179,
    "b": 28
  },
  "hsl": {
    "h": 100.927,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.67902,
    "c": 0.20142,
    "h": 138.5
  },
  "luminance": 0.33861
}

Semantic roles & 50–950 ramp

primary
#4CB31C
secondary
#A95FCB
accent
#38F0B5
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #4CB31C

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

Preview Lab → · Contrast checker → · Palette generator →

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