#228921#228921

#228921 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.2% C 0.167 H 142.8°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#228921
RGBrgb(34, 137, 33)
HSLhsl(119, 61%, 33%)
HSVhsv(119, 76%, 54%)
CMYKcmyk(75.2%, 0%, 75.9%, 46.3%)
CIE-LABlab(49.91, -48.99, 44.70)
CIE-LCHlch(49.91, 66.32, 137.62°)
OKLaboklab(55.21% -0.133 0.101)
OKLCHoklch(55.21% 0.167 142.8)
XYZxyz(9.8793, 18.3401, 4.4579)
Luminance0.1834 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228921 #882189
analogous
#568921 #228921 #218954
triadic
#228921 #212289 #892122
tetradic
#228921 #215689 #882189 #895421
square
#228921 #215689 #882189 #895421
split-complementary
#228921 #542189 #892156
monochromatic
#0A2609 #165815 #228921 #2EBA2D #51D550

Accessibility & contrast

On white

4.50
#228921 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#228921 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228921
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228921#FFFFFF#000000##000000
##2289211.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C0D
Deuteranopia (green-blind)
#81742C
Tritanopia (blue-blind)
#008575
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #228921;
/* rgb */ color: rgb(34, 137, 33);
/* oklch */ color: oklch(55.2% 0.167 142.8);
Tailwind
colors: {
  custom: {
    50: '#6fac64',
    500: '#228921',
    950: '#000000',
  },
}
SCSS
$custom: #228921;
$custom-light: #6fac64;
$custom-dark: #000000;
JSON
{
  "hex": "#228921",
  "rgb": {
    "r": 34,
    "g": 137,
    "b": 33
  },
  "hsl": {
    "h": 119.423,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55208,
    "c": 0.16705,
    "h": 142.8
  },
  "luminance": 0.18341
}

Semantic roles & 50–950 ramp

primary
#228921
secondary
#B74EB8
accent
#44E4E3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #228921

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

Preview Lab → · Contrast checker → · Palette generator →

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