#20B31B#20B31B

#20B31B is a light, highly saturated green. Relative luminance 0.326; OKLCH L 66.8% C 0.216 H 142.4°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#20B31B
RGBrgb(32, 179, 27)
HSLhsl(118, 74%, 40%)
HSVhsv(118, 85%, 70%)
CMYKcmyk(82.1%, 0%, 84.9%, 29.8%)
CIE-LABlab(63.86, -62.98, 59.75)
CIE-LCHlch(63.86, 86.81, 136.51°)
OKLaboklab(66.79% -0.1711 0.1317)
OKLCHoklch(66.79% 0.216 142.4)
XYZxyz(16.9125, 32.6243, 6.4425)
Luminance0.3263 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20B31B #AE1BB3
analogous
#6CB31B #20B31B #1BB362
triadic
#20B31B #1B20B3 #B31B20
tetradic
#20B31B #1B6CB3 #AE1BB3 #B3621B
square
#20B31B #1B6CB3 #AE1BB3 #B3621B
split-complementary
#20B31B #621BB3 #B31B6C
monochromatic
#0D490B #167E13 #20B31B #32DF2C #66E761

Accessibility & contrast

On white

2.79
#20B31B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#20B31B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #20B31B
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20B31B#FFFFFF#000000##000000
##20B31B1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20b31b;
/* rgb */ color: rgb(32, 179, 27);
/* oklch */ color: oklch(66.8% 0.216 142.4);
Tailwind
colors: {
  custom: {
    50: '#79cb67',
    500: '#20b31b',
    950: '#000000',
  },
}
SCSS
$custom: #20b31b;
$custom-light: #79cb67;
$custom-dark: #000000;
JSON
{
  "hex": "#20b31b",
  "rgb": {
    "r": 32,
    "g": 179,
    "b": 27
  },
  "hsl": {
    "h": 118.026,
    "s": 73.786,
    "l": 40.392
  },
  "oklch": {
    "l": 0.66792,
    "c": 0.21589,
    "h": 142.4
  },
  "luminance": 0.32626
}

Semantic roles & 50–950 ramp

primary
#20B31B
secondary
#C85ECC
accent
#37F0EA
background
#F8FCF6
surface
#EFF9EB
border
#CAD2C6
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #20B31B

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

Preview Lab → · Contrast checker → · Palette generator →

#20B31B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva