#21834F#21834F

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

Color values

HEX#21834F
RGBrgb(33, 131, 79)
HSLhsl(148, 60%, 32%)
HSVhsv(148, 75%, 51%)
CMYKcmyk(74.8%, 0%, 39.7%, 48.6%)
CIE-LABlab(48.41, -40.38, 20.32)
CIE-LCHlch(48.41, 45.21, 153.29°)
OKLaboklab(54.15% -0.109 0.0508)
OKLCHoklch(54.15% 0.12 155)
XYZxyz(10.1538, 17.1193, 10.1648)
Luminance0.1712 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21834F #832155
analogous
#248321 #21834F #218380
triadic
#21834F #4F2183 #834F21
tetradic
#21834F #212483 #832155 #838021
square
#21834F #212483 #832155 #838021
split-complementary
#21834F #802183 #832124
monochromatic
#082114 #155232 #21834F #2DB46C #4CD28B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21834F#FFFFFF#000000##FFFFFF
##21834F1.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)
#83784B
Deuteranopia (green-blind)
#777052
Tritanopia (blue-blind)
#008276
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #21834f;
/* rgb */ color: rgb(33, 131, 79);
/* oklch */ color: oklch(54.1% 0.120 155.0);
Tailwind
colors: {
  custom: {
    50: '#6ba881',
    500: '#21834f',
    950: '#000000',
  },
}
SCSS
$custom: #21834f;
$custom-light: #6ba881;
$custom-dark: #000000;
JSON
{
  "hex": "#21834f",
  "rgb": {
    "r": 33,
    "g": 131,
    "b": 79
  },
  "hsl": {
    "h": 148.163,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54145,
    "c": 0.12026,
    "h": 155
  },
  "luminance": 0.1712
}

Semantic roles & 50–950 ramp

primary
#21834F
secondary
#B54B83
accent
#4599E3
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#08100A
muted
#7A7F7C

Preview Lab

Preview with #21834F

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

Preview Lab → · Contrast checker → · Palette generator →

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