#1CB31C#1CB31C

#1CB31C is a light, highly saturated green. Relative luminance 0.326; OKLCH L 66.7% C 0.216 H 142.7°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#1CB31C
RGBrgb(28, 179, 28)
HSLhsl(120, 73%, 41%)
HSVhsv(120, 84%, 70%)
CMYKcmyk(84.4%, 0%, 84.4%, 29.8%)
CIE-LABlab(63.81, -63.36, 59.44)
CIE-LCHlch(63.81, 86.88, 136.83°)
OKLaboklab(66.74% -0.172 0.1312)
OKLCHoklch(66.74% 0.216 142.7)
XYZxyz(16.8075, 32.5688, 6.4990)
Luminance0.3257 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1CB31C #B31CB3
analogous
#67B31C #1CB31C #1CB367
triadic
#1CB31C #1C1CB3 #B31C1C
tetradic
#1CB31C #1C67B3 #B31CB3 #B3671C
square
#1CB31C #1C67B3 #B31CB3 #B3671C
split-complementary
#1CB31C #671CB3 #B31C67
monochromatic
#0B490B #147E14 #1CB31C #2EDE2E #63E763

Accessibility & contrast

On white

2.79
#1CB31C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#1CB31C on #000000
AA ✓AA large ✓AAA ✓

Best text color

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

Contrast matrix

fg \ bg##1CB31C#FFFFFF#000000##000000
##1CB31C1.002.797.517.51
#FFFFFF2.791.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#A89631
Tritanopia (blue-blind)
#00AD98
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #1cb31c;
/* rgb */ color: rgb(28, 179, 28);
/* oklch */ color: oklch(66.7% 0.216 142.7);
Tailwind
colors: {
  custom: {
    50: '#78cb68',
    500: '#1cb31c',
    950: '#000000',
  },
}
SCSS
$custom: #1cb31c;
$custom-light: #78cb68;
$custom-dark: #000000;
JSON
{
  "hex": "#1cb31c",
  "rgb": {
    "r": 28,
    "g": 179,
    "b": 28
  },
  "hsl": {
    "h": 120,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.66742,
    "c": 0.21628,
    "h": 142.7
  },
  "luminance": 0.32571
}

Semantic roles & 50–950 ramp

primary
#1CB31C
secondary
#CB5FCB
accent
#38F0F0
background
#F8FCF6
surface
#EFF9EB
border
#CAD2C6
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #1CB31C

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

Preview Lab → · Contrast checker → · Palette generator →

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