#228226#228226

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

Color values

HEX#228226
RGBrgb(34, 130, 38)
HSLhsl(123, 59%, 32%)
HSVhsv(123, 74%, 51%)
CMYKcmyk(73.8%, 0%, 70.8%, 49%)
CIE-LABlab(47.55, -46.11, 40.25)
CIE-LCHlch(47.55, 61.20, 138.88°)
OKLaboklab(53.27% -0.125 0.0924)
OKLCHoklch(53.27% 0.155 143.5)
XYZxyz(8.9916, 16.4443, 4.5335)
Luminance0.1645 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228226 #82227E
analogous
#4E8222 #228226 #228256
triadic
#228226 #262282 #822622
tetradic
#228226 #224E82 #82227E #825622
square
#228226 #224E82 #82227E #825622
split-complementary
#228226 #562282 #82224E
monochromatic
#09210A #155118 #228226 #2FB334 #4ED153

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##228226#FFFFFF#000000##FFFFFF
##2282261.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)
#857519
Deuteranopia (green-blind)
#7A6E2F
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #228226;
/* rgb */ color: rgb(34, 130, 38);
/* oklch */ color: oklch(53.3% 0.155 143.5);
Tailwind
colors: {
  custom: {
    50: '#6da765',
    500: '#228226',
    950: '#000000',
  },
}
SCSS
$custom: #228226;
$custom-light: #6da765;
$custom-dark: #000000;
JSON
{
  "hex": "#228226",
  "rgb": {
    "r": 34,
    "g": 130,
    "b": 38
  },
  "hsl": {
    "h": 122.5,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53266,
    "c": 0.15541,
    "h": 143.5
  },
  "luminance": 0.16445
}

Semantic roles & 50–950 ramp

primary
#228226
secondary
#B44CB0
accent
#46DBE2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #228226

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

Preview Lab → · Contrast checker → · Palette generator →

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