#1CB31B#1CB31B

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

Color values

HEX#1CB31B
RGBrgb(28, 179, 27)
HSLhsl(120, 74%, 40%)
HSVhsv(120, 85%, 70%)
CMYKcmyk(84.4%, 0%, 84.9%, 29.8%)
CIE-LABlab(63.81, -63.41, 59.69)
CIE-LCHlch(63.81, 87.08, 136.73°)
OKLaboklab(66.74% -0.1721 0.1315)
OKLCHoklch(66.74% 0.217 142.6)
XYZxyz(16.7957, 32.5641, 6.4370)
Luminance0.3257 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1CB31B #B21BB3
analogous
#68B31B #1CB31B #1BB366
triadic
#1CB31B #1B1CB3 #B31B1C
tetradic
#1CB31B #1B68B3 #B21BB3 #B3661B
square
#1CB31B #1B68B3 #B21BB3 #B3661B
split-complementary
#1CB31B #661BB3 #B31B68
monochromatic
#0B490B #147E13 #1CB31B #2DDF2C #62E761

Accessibility & contrast

On white

2.80
#1CB31B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##1CB31B#FFFFFF#000000##000000
##1CB31B1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1cb31b;
/* rgb */ color: rgb(28, 179, 27);
/* oklch */ color: oklch(66.7% 0.217 142.6);
Tailwind
colors: {
  custom: {
    50: '#78cb67',
    500: '#1cb31b',
    950: '#000000',
  },
}
SCSS
$custom: #1cb31b;
$custom-light: #78cb67;
$custom-dark: #000000;
JSON
{
  "hex": "#1cb31b",
  "rgb": {
    "r": 28,
    "g": 179,
    "b": 27
  },
  "hsl": {
    "h": 119.605,
    "s": 73.786,
    "l": 40.392
  },
  "oklch": {
    "l": 0.66737,
    "c": 0.21664,
    "h": 142.6
  },
  "luminance": 0.32566
}

Semantic roles & 50–950 ramp

primary
#1CB31B
secondary
#CB5ECC
accent
#37F0EF
background
#F8FCF6
surface
#EFF9EB
border
#CAD2C6
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #1CB31B

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

Preview Lab → · Contrast checker → · Palette generator →

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