#228227#228227

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

Color values

HEX#228227
RGBrgb(34, 130, 39)
HSLhsl(123, 59%, 32%)
HSVhsv(123, 74%, 51%)
CMYKcmyk(73.8%, 0%, 70%, 49%)
CIE-LABlab(47.56, -46.00, 39.83)
CIE-LCHlch(47.56, 60.85, 139.11°)
OKLaboklab(53.28% -0.1246 0.0916)
OKLCHoklch(53.28% 0.155 143.7)
XYZxyz(9.0080, 16.4508, 4.6197)
Luminance0.1645 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228227 #82227D
analogous
#4D8222 #228227 #228257
triadic
#228227 #272282 #822722
tetradic
#228227 #224D82 #82227D #825722
square
#228227 #224D82 #82227D #825722
split-complementary
#228227 #572282 #82224D
monochromatic
#09210A #155118 #228227 #2FB336 #4ED155

Accessibility & contrast

On white

4.89
#228227 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #228227
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228227#FFFFFF#000000##FFFFFF
##2282271.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85751A
Deuteranopia (green-blind)
#7A6E30
Tritanopia (blue-blind)
#007E70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #228227;
/* rgb */ color: rgb(34, 130, 39);
/* oklch */ color: oklch(53.3% 0.155 143.7);
Tailwind
colors: {
  custom: {
    50: '#6da766',
    500: '#228227',
    950: '#000000',
  },
}
SCSS
$custom: #228227;
$custom-light: #6da766;
$custom-dark: #000000;
JSON
{
  "hex": "#228227",
  "rgb": {
    "r": 34,
    "g": 130,
    "b": 39
  },
  "hsl": {
    "h": 123.125,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53276,
    "c": 0.15469,
    "h": 143.7
  },
  "luminance": 0.16452
}

Semantic roles & 50–950 ramp

primary
#228227
secondary
#B44CAF
accent
#46DAE2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #228227

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

Preview Lab → · Contrast checker → · Palette generator →

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