#227833#227833

#227833 is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.6% C 0.132 H 146.7°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#227833
RGBrgb(34, 120, 51)
HSLhsl(132, 56%, 30%)
HSVhsv(132, 72%, 47%)
CMYKcmyk(71.7%, 0%, 57.5%, 52.9%)
CIE-LABlab(44.25, -40.82, 30.33)
CIE-LCHlch(44.25, 50.85, 143.39°)
OKLaboklab(50.57% -0.1101 0.0724)
OKLCHoklch(50.57% 0.132 146.7)
XYZxyz(7.9731, 14.0112, 5.4156)
Luminance0.1401 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227833 #782267
analogous
#3C7822 #227833 #22785E
triadic
#227833 #332278 #783322
tetradic
#227833 #223C78 #782267 #785E22
square
#227833 #223C78 #782267 #785E22
split-complementary
#227833 #5E2278 #78223C
monochromatic
#07190A #14481F #227833 #30A847 #49CB63

Accessibility & contrast

On white

5.52
#227833 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#227833 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227833
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227833#FFFFFF#000000##FFFFFF
##2278331.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6D2D
Deuteranopia (green-blind)
#6F6638
Tritanopia (blue-blind)
#007569
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #227833;
/* rgb */ color: rgb(34, 120, 51);
/* oklch */ color: oklch(50.6% 0.132 146.7);
Tailwind
colors: {
  custom: {
    50: '#6aa06d',
    500: '#227833',
    950: '#000000',
  },
}
SCSS
$custom: #227833;
$custom-light: #6aa06d;
$custom-dark: #000000;
JSON
{
  "hex": "#227833",
  "rgb": {
    "r": 34,
    "g": 120,
    "b": 51
  },
  "hsl": {
    "h": 131.86,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.50574,
    "c": 0.13177,
    "h": 146.7
  },
  "luminance": 0.14012
}

Semantic roles & 50–950 ramp

primary
#227833
secondary
#AB4B98
accent
#49C1DF
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F07
muted
#7A7E7A

Preview Lab

Preview with #227833

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

Preview Lab → · Contrast checker → · Palette generator →

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