#228922#228922

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

Color values

HEX#228922
RGBrgb(34, 137, 34)
HSLhsl(120, 60%, 34%)
HSVhsv(120, 75%, 54%)
CMYKcmyk(75.2%, 0%, 75.2%, 46.3%)
CIE-LABlab(49.91, -48.91, 44.33)
CIE-LCHlch(49.91, 66.01, 137.81°)
OKLaboklab(55.22% -0.1328 0.1004)
OKLCHoklch(55.22% 0.166 142.9)
XYZxyz(9.8935, 18.3458, 4.5327)
Luminance0.1835 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228922 #892289
analogous
#558922 #228922 #228955
triadic
#228922 #222289 #892222
tetradic
#228922 #225589 #892289 #895522
square
#228922 #225589 #892289 #895522
split-complementary
#228922 #552289 #892255
monochromatic
#0A270A #165816 #228922 #2EBA2E #51D451

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##228922#FFFFFF#000000##000000
##2289221.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)
#8C7C0F
Deuteranopia (green-blind)
#80742D
Tritanopia (blue-blind)
#008575
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #228922;
/* rgb */ color: rgb(34, 137, 34);
/* oklch */ color: oklch(55.2% 0.166 142.9);
Tailwind
colors: {
  custom: {
    50: '#6fac64',
    500: '#228922',
    950: '#000000',
  },
}
SCSS
$custom: #228922;
$custom-light: #6fac64;
$custom-dark: #000000;
JSON
{
  "hex": "#228922",
  "rgb": {
    "r": 34,
    "g": 137,
    "b": 34
  },
  "hsl": {
    "h": 120,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55216,
    "c": 0.16644,
    "h": 142.9
  },
  "luminance": 0.18347
}

Semantic roles & 50–950 ramp

primary
#228922
secondary
#B84FB8
accent
#44E3E3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #228922

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

Preview Lab → · Contrast checker → · Palette generator →

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