#218229#218229

#218229 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.3% C 0.154 H 144.1°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#218229
RGBrgb(33, 130, 41)
HSLhsl(125, 60%, 32%)
HSVhsv(125, 75%, 51%)
CMYKcmyk(74.6%, 0%, 68.5%, 49%)
CIE-LABlab(47.56, -45.97, 38.94)
CIE-LCHlch(47.56, 60.25, 139.73°)
OKLaboklab(53.27% -0.1244 0.09)
OKLCHoklch(53.27% 0.154 144.1)
XYZxyz(9.0095, 16.4477, 4.7973)
Luminance0.1645 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#218229 #82217A
analogous
#4A8221 #218229 #218259
triadic
#218229 #292182 #822921
tetradic
#218229 #214A82 #82217A #825921
square
#218229 #214A82 #82217A #825921
split-complementary
#218229 #592182 #82214A
monochromatic
#08200A #15511A #218229 #2DB338 #4CD257

Accessibility & contrast

On white

4.90
#218229 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#218229 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #218229
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##218229#FFFFFF#000000##FFFFFF
##2182291.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85751D
Deuteranopia (green-blind)
#796E31
Tritanopia (blue-blind)
#007E70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #218229;
/* rgb */ color: rgb(33, 130, 41);
/* oklch */ color: oklch(53.3% 0.154 144.1);
Tailwind
colors: {
  custom: {
    50: '#6ca767',
    500: '#218229',
    950: '#000000',
  },
}
SCSS
$custom: #218229;
$custom-light: #6ca767;
$custom-dark: #000000;
JSON
{
  "hex": "#218229",
  "rgb": {
    "r": 33,
    "g": 130,
    "b": 41
  },
  "hsl": {
    "h": 124.948,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53272,
    "c": 0.15354,
    "h": 144.1
  },
  "luminance": 0.16449
}

Semantic roles & 50–950 ramp

primary
#218229
secondary
#B44AAC
accent
#45D6E3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #218229

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

Preview Lab → · Contrast checker → · Palette generator →

#218229 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva