#227832#227832

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

Color values

HEX#227832
RGBrgb(34, 120, 50)
HSLhsl(131, 56%, 30%)
HSVhsv(131, 72%, 47%)
CMYKcmyk(71.7%, 0%, 58.3%, 52.9%)
CIE-LABlab(44.24, -40.96, 30.83)
CIE-LCHlch(44.24, 51.27, 143.04°)
OKLaboklab(50.56% -0.1105 0.0735)
OKLCHoklch(50.56% 0.133 146.4)
XYZxyz(7.9513, 14.0025, 5.3007)
Luminance0.1400 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227832 #782268
analogous
#3D7822 #227832 #22785D
triadic
#227832 #322278 #783222
tetradic
#227832 #223D78 #782268 #785D22
square
#227832 #223D78 #782268 #785D22
split-complementary
#227832 #5D2278 #78223D
monochromatic
#07190A #14481E #227832 #30A846 #49CB61

Accessibility & contrast

On white

5.53
#227832 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #227832
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227832#FFFFFF#000000##FFFFFF
##2278321.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6D2B
Deuteranopia (green-blind)
#6F6637
Tritanopia (blue-blind)
#007568
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #227832;
/* rgb */ color: rgb(34, 120, 50);
/* oklch */ color: oklch(50.6% 0.133 146.4);
Tailwind
colors: {
  custom: {
    50: '#6aa06c',
    500: '#227832',
    950: '#000000',
  },
}
SCSS
$custom: #227832;
$custom-light: #6aa06c;
$custom-dark: #000000;
JSON
{
  "hex": "#227832",
  "rgb": {
    "r": 34,
    "g": 120,
    "b": 50
  },
  "hsl": {
    "h": 131.163,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.50559,
    "c": 0.13269,
    "h": 146.4
  },
  "luminance": 0.14003
}

Semantic roles & 50–950 ramp

primary
#227832
secondary
#AB4B99
accent
#49C3DF
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F07
muted
#7A7E7A

Preview Lab

Preview with #227832

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

Preview Lab → · Contrast checker → · Palette generator →

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