#228225#228225

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

Color values

HEX#228225
RGBrgb(34, 130, 37)
HSLhsl(122, 59%, 32%)
HSVhsv(122, 74%, 51%)
CMYKcmyk(73.8%, 0%, 71.5%, 49%)
CIE-LABlab(47.54, -46.20, 40.67)
CIE-LCHlch(47.54, 61.55, 138.65°)
OKLaboklab(53.26% -0.1253 0.0931)
OKLCHoklch(53.26% 0.156 143.4)
XYZxyz(8.9757, 16.4379, 4.4497)
Luminance0.1644 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228225 #82227F
analogous
#4F8222 #228225 #228255
triadic
#228225 #252282 #822522
tetradic
#228225 #224F82 #82227F #825522
square
#228225 #224F82 #82227F #825522
split-complementary
#228225 #552282 #82224F
monochromatic
#092109 #155117 #228225 #2FB333 #4ED152

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##228225#FFFFFF#000000##FFFFFF
##2282251.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)
#857517
Deuteranopia (green-blind)
#7A6E2E
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #228225;
/* rgb */ color: rgb(34, 130, 37);
/* oklch */ color: oklch(53.3% 0.156 143.4);
Tailwind
colors: {
  custom: {
    50: '#6da765',
    500: '#228225',
    950: '#000000',
  },
}
SCSS
$custom: #228225;
$custom-light: #6da765;
$custom-dark: #000000;
JSON
{
  "hex": "#228225",
  "rgb": {
    "r": 34,
    "g": 130,
    "b": 37
  },
  "hsl": {
    "h": 121.875,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53257,
    "c": 0.15611,
    "h": 143.4
  },
  "luminance": 0.16439
}

Semantic roles & 50–950 ramp

primary
#228225
secondary
#B44CB1
accent
#46DDE2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #228225

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

Preview Lab → · Contrast checker → · Palette generator →

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