#229628#229628

#229628 is a mid, vivid green. Relative luminance 0.223; OKLCH L 58.9% C 0.178 H 143.5°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#229628
RGBrgb(34, 150, 40)
HSLhsl(123, 63%, 36%)
HSVhsv(123, 77%, 59%)
CMYKcmyk(77.3%, 0%, 73.3%, 41.2%)
CIE-LABlab(54.35, -52.76, 46.55)
CIE-LCHlch(54.35, 70.36, 138.58°)
OKLaboklab(58.91% -0.1429 0.1058)
OKLCHoklch(58.91% 0.178 143.5)
XYZxyz(11.9483, 22.3046, 5.6826)
Luminance0.2231 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229628 #962290
analogous
#569622 #229628 #229662
triadic
#229628 #282296 #962822
tetradic
#229628 #225696 #962290 #966222
square
#229628 #225696 #962290 #966222
split-complementary
#229628 #622296 #962256
monochromatic
#0B320D #17641B #229628 #2DC835 #59D960

Accessibility & contrast

On white

3.85
#229628 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#229628 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229628
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229628#FFFFFF#000000##000000
##2296281.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#998715
Deuteranopia (green-blind)
#8C7F33
Tritanopia (blue-blind)
#009280
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #229628;
/* rgb */ color: rgb(34, 150, 40);
/* oklch */ color: oklch(58.9% 0.178 143.5);
Tailwind
colors: {
  custom: {
    50: '#72b669',
    500: '#229628',
    950: '#000000',
  },
}
SCSS
$custom: #229628;
$custom-light: #72b669;
$custom-dark: #000000;
JSON
{
  "hex": "#229628",
  "rgb": {
    "r": 34,
    "g": 150,
    "b": 40
  },
  "hsl": {
    "h": 123.103,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.58914,
    "c": 0.17784,
    "h": 143.5
  },
  "luminance": 0.22306
}

Semantic roles & 50–950 ramp

primary
#229628
secondary
#BE56B8
accent
#42DEE6
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #229628

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

Preview Lab → · Contrast checker → · Palette generator →

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