#21783C#21783C

#21783C is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.7% C 0.124 H 149.6°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#21783C
RGBrgb(33, 120, 60)
HSLhsl(139, 57%, 30%)
HSVhsv(139, 73%, 47%)
CMYKcmyk(72.5%, 0%, 50%, 52.9%)
CIE-LABlab(44.35, -39.57, 25.64)
CIE-LCHlch(44.35, 47.15, 147.06°)
OKLaboklab(50.69% -0.1065 0.0625)
OKLCHoklch(50.69% 0.124 149.6)
XYZxyz(8.1586, 14.0816, 6.5621)
Luminance0.1408 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21783C #78215D
analogous
#317821 #21783C #217868
triadic
#21783C #3C2178 #783C21
tetradic
#21783C #213178 #78215D #786821
square
#21783C #213178 #78215D #786821
split-complementary
#21783C #682178 #782131
monochromatic
#07180C #144824 #21783C #2EA854 #47CC70

Accessibility & contrast

On white

5.50
#21783C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#21783C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21783C
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21783C#FFFFFF#000000##FFFFFF
##21783C1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796D37
Deuteranopia (green-blind)
#6E6640
Tritanopia (blue-blind)
#00766A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #21783c;
/* rgb */ color: rgb(33, 120, 60);
/* oklch */ color: oklch(50.7% 0.124 149.6);
Tailwind
colors: {
  custom: {
    50: '#69a073',
    500: '#21783c',
    950: '#000000',
  },
}
SCSS
$custom: #21783c;
$custom-light: #69a073;
$custom-dark: #000000;
JSON
{
  "hex": "#21783c",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 60
  },
  "hsl": {
    "h": 138.621,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.50691,
    "c": 0.12353,
    "h": 149.6
  },
  "luminance": 0.14083
}

Semantic roles & 50–950 ramp

primary
#21783C
secondary
#AB4A8D
accent
#48B1E0
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070F08
muted
#7A7E7B

Preview Lab

Preview with #21783C

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

Preview Lab → · Contrast checker → · Palette generator →

#21783C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva