#228223#228223

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

Color values

HEX#228223
RGBrgb(34, 130, 35)
HSLhsl(121, 59%, 32%)
HSVhsv(121, 74%, 51%)
CMYKcmyk(73.8%, 0%, 73.1%, 49%)
CIE-LABlab(47.53, -46.40, 41.48)
CIE-LCHlch(47.53, 62.24, 138.20°)
OKLaboklab(53.24% -0.1259 0.0946)
OKLCHoklch(53.24% 0.157 143.1)
XYZxyz(8.9451, 16.4257, 4.2888)
Luminance0.1643 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228223 #822281
analogous
#518222 #228223 #228253
triadic
#228223 #232282 #822322
tetradic
#228223 #225182 #822281 #825322
square
#228223 #225182 #822281 #825322
split-complementary
#228223 #532282 #822251
monochromatic
#092109 #155116 #228223 #2FB330 #4ED14F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##228223#FFFFFF#000000##FFFFFF
##2282231.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)
#857514
Deuteranopia (green-blind)
#7A6E2C
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #228223;
/* rgb */ color: rgb(34, 130, 35);
/* oklch */ color: oklch(53.2% 0.157 143.1);
Tailwind
colors: {
  custom: {
    50: '#6da764',
    500: '#228223',
    950: '#000000',
  },
}
SCSS
$custom: #228223;
$custom-light: #6da764;
$custom-dark: #000000;
JSON
{
  "hex": "#228223",
  "rgb": {
    "r": 34,
    "g": 130,
    "b": 35
  },
  "hsl": {
    "h": 120.625,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53238,
    "c": 0.15747,
    "h": 143.1
  },
  "luminance": 0.16427
}

Semantic roles & 50–950 ramp

primary
#228223
secondary
#B44CB3
accent
#46E0E2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #228223

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

Preview Lab → · Contrast checker → · Palette generator →

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