#229B21#229B21

#229B21 is a mid, vivid green. Relative luminance 0.239; OKLCH L 60.3% C 0.187 H 142.7°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#229B21
RGBrgb(34, 155, 33)
HSLhsl(120, 65%, 37%)
HSVhsv(120, 79%, 61%)
CMYKcmyk(78.1%, 0%, 78.7%, 39.2%)
CIE-LABlab(55.98, -54.94, 50.70)
CIE-LCHlch(55.98, 74.76, 137.30°)
OKLaboklab(60.25% -0.1492 0.1135)
OKLCHoklch(60.25% 0.187 142.7)
XYZxyz(12.6548, 23.8911, 5.3831)
Luminance0.2389 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229B21 #9A219B
analogous
#5F9B21 #229B21 #219B5D
triadic
#229B21 #21229B #9B2122
tetradic
#229B21 #215F9B #9A219B #9B5D21
square
#229B21 #215F9B #9A219B #9B5D21
split-complementary
#229B21 #5D219B #9B215F
monochromatic
#0C360C #176916 #229B21 #2DCD2C #5BDC5A

Accessibility & contrast

On white

3.63
#229B21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#229B21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229B21
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229B21#FFFFFF#000000##000000
##229B211.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C01
Deuteranopia (green-blind)
#91832F
Tritanopia (blue-blind)
#009684
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #229b21;
/* rgb */ color: rgb(34, 155, 33);
/* oklch */ color: oklch(60.3% 0.187 142.7);
Tailwind
colors: {
  custom: {
    50: '#73ba66',
    500: '#229b21',
    950: '#000000',
  },
}
SCSS
$custom: #229b21;
$custom-light: #73ba66;
$custom-dark: #000000;
JSON
{
  "hex": "#229b21",
  "rgb": {
    "r": 34,
    "g": 155,
    "b": 33
  },
  "hsl": {
    "h": 119.508,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.60254,
    "c": 0.18746,
    "h": 142.7
  },
  "luminance": 0.23893
}

Semantic roles & 50–950 ramp

primary
#229B21
secondary
#BF58C0
accent
#40E8E6
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #229B21

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

Preview Lab → · Contrast checker → · Palette generator →

#229B21 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva