#227922#227922

#227922 is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.7% C 0.147 H 143.0°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#227922
RGBrgb(34, 121, 34)
HSLhsl(120, 56%, 30%)
HSVhsv(120, 72%, 47%)
CMYKcmyk(71.9%, 0%, 71.9%, 52.5%)
CIE-LABlab(44.42, -43.28, 38.64)
CIE-LCHlch(44.42, 58.02, 138.24°)
OKLaboklab(50.66% -0.1175 0.0885)
OKLCHoklch(50.66% 0.147 143)
XYZxyz(7.7853, 14.1295, 3.8300)
Luminance0.1413 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227922 #792279
analogous
#4D7922 #227922 #22794D
triadic
#227922 #222279 #792222
tetradic
#227922 #224D79 #792279 #794D22
square
#227922 #224D79 #792279 #794D22
split-complementary
#227922 #4D2279 #79224D
monochromatic
#071907 #154915 #227922 #2FA92F #49CC49

Accessibility & contrast

On white

5.49
#227922 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#227922 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227922
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227922#FFFFFF#000000##FFFFFF
##2279221.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D15
Deuteranopia (green-blind)
#72662A
Tritanopia (blue-blind)
#087568
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #227922;
/* rgb */ color: rgb(34, 121, 34);
/* oklch */ color: oklch(50.7% 0.147 143.0);
Tailwind
colors: {
  custom: {
    50: '#6ba162',
    500: '#227922',
    950: '#000000',
  },
}
SCSS
$custom: #227922;
$custom-light: #6ba162;
$custom-dark: #000000;
JSON
{
  "hex": "#227922",
  "rgb": {
    "r": 34,
    "g": 121,
    "b": 34
  },
  "hsl": {
    "h": 120,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.50657,
    "c": 0.14709,
    "h": 143
  },
  "luminance": 0.1413
}

Semantic roles & 50–950 ramp

primary
#227922
secondary
#AC4BAC
accent
#48DFDF
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #227922

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

Preview Lab → · Contrast checker → · Palette generator →

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