#21834E#21834E

#21834E is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.1% C 0.121 H 154.6°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#21834E
RGBrgb(33, 131, 78)
HSLhsl(148, 60%, 32%)
HSVhsv(148, 75%, 51%)
CMYKcmyk(74.8%, 0%, 40.5%, 48.6%)
CIE-LABlab(48.39, -40.59, 20.86)
CIE-LCHlch(48.39, 45.63, 152.80°)
OKLaboklab(54.12% -0.1095 0.052)
OKLCHoklch(54.12% 0.121 154.6)
XYZxyz(10.1177, 17.1048, 9.9746)
Luminance0.1711 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21834E #832156
analogous
#258321 #21834E #21837F
triadic
#21834E #4E2183 #834E21
tetradic
#21834E #212583 #832156 #837F21
square
#21834E #212583 #832156 #837F21
split-complementary
#21834E #7F2183 #832125
monochromatic
#082114 #155231 #21834E #2DB46B #4CD28A

Accessibility & contrast

On white

4.75
#21834E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#21834E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21834E
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21834E#FFFFFF#000000##FFFFFF
##21834E1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83784A
Deuteranopia (green-blind)
#777052
Tritanopia (blue-blind)
#008176
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #21834e;
/* rgb */ color: rgb(33, 131, 78);
/* oklch */ color: oklch(54.1% 0.121 154.6);
Tailwind
colors: {
  custom: {
    50: '#6ba880',
    500: '#21834e',
    950: '#000000',
  },
}
SCSS
$custom: #21834e;
$custom-light: #6ba880;
$custom-dark: #000000;
JSON
{
  "hex": "#21834e",
  "rgb": {
    "r": 33,
    "g": 131,
    "b": 78
  },
  "hsl": {
    "h": 147.551,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54124,
    "c": 0.12124,
    "h": 154.6
  },
  "luminance": 0.17106
}

Semantic roles & 50–950 ramp

primary
#21834E
secondary
#B54B84
accent
#459AE3
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#08100A
muted
#7A7F7C

Preview Lab

Preview with #21834E

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

Preview Lab → · Contrast checker → · Palette generator →

#21834E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva