#21B41B#21B41B

#21B41B is a light, highly saturated green. Relative luminance 0.330; OKLCH L 67.1% C 0.217 H 142.4°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#21B41B
RGBrgb(33, 180, 27)
HSLhsl(118, 74%, 41%)
HSVhsv(118, 85%, 71%)
CMYKcmyk(81.7%, 0%, 85%, 29.4%)
CIE-LABlab(64.20, -63.16, 60.06)
CIE-LCHlch(64.20, 87.16, 136.44°)
OKLaboklab(67.08% -0.1716 0.1323)
OKLCHoklch(67.08% 0.217 142.4)
XYZxyz(17.1452, 33.0429, 6.5110)
Luminance0.3305 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21B41B #AE1BB4
analogous
#6DB41B #21B41B #1BB461
triadic
#21B41B #1B21B4 #B41B21
tetradic
#21B41B #1B6DB4 #AE1BB4 #B4611B
square
#21B41B #1B6DB4 #AE1BB4 #B4611B
split-complementary
#21B41B #611BB4 #B41B6D
monochromatic
#0D4A0B #177F13 #21B41B #34DF2D #67E762

Accessibility & contrast

On white

2.76
#21B41B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#21B41B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #21B41B
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21B41B#FFFFFF#000000##000000
##21B41B1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#A99730
Tritanopia (blue-blind)
#00AE99
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #21b41b;
/* rgb */ color: rgb(33, 180, 27);
/* oklch */ color: oklch(67.1% 0.217 142.4);
Tailwind
colors: {
  custom: {
    50: '#7acc67',
    500: '#21b41b',
    950: '#000000',
  },
}
SCSS
$custom: #21b41b;
$custom-light: #7acc67;
$custom-dark: #000000;
JSON
{
  "hex": "#21b41b",
  "rgb": {
    "r": 33,
    "g": 180,
    "b": 27
  },
  "hsl": {
    "h": 117.647,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.6708,
    "c": 0.21671,
    "h": 142.4
  },
  "luminance": 0.33045
}

Semantic roles & 50–950 ramp

primary
#21B41B
secondary
#C85FCC
accent
#37F1E9
background
#F8FCF6
surface
#EFF9EB
border
#CAD2C6
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #21B41B

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

Preview Lab → · Contrast checker → · Palette generator →

#21B41B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva