#227628#227628

#227628 is a mid, vivid green. Relative luminance 0.135; OKLCH L 49.9% C 0.139 H 144.2°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#227628
RGBrgb(34, 118, 40)
HSLhsl(124, 55%, 30%)
HSVhsv(124, 71%, 46%)
CMYKcmyk(71.2%, 0%, 66.1%, 53.7%)
CIE-LABlab(43.43, -41.52, 34.86)
CIE-LCHlch(43.43, 54.21, 139.98°)
OKLaboklab(49.86% -0.1124 0.0812)
OKLCHoklch(49.86% 0.139 144.2)
XYZxyz(7.5206, 13.4493, 4.2067)
Luminance0.1345 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227628 #762270
analogous
#467622 #227628 #227652
triadic
#227628 #282276 #762822
tetradic
#227628 #224676 #762270 #765222
square
#227628 #224676 #762270 #765222
split-complementary
#227628 #522276 #762246
monochromatic
#071808 #144618 #227628 #30A638 #48CA51

Accessibility & contrast

On white

5.69
#227628 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#227628 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227628
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227628#FFFFFF#000000##FFFFFF
##2276281.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786B1F
Deuteranopia (green-blind)
#6E642F
Tritanopia (blue-blind)
#087366
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #227628;
/* rgb */ color: rgb(34, 118, 40);
/* oklch */ color: oklch(49.9% 0.139 144.2);
Tailwind
colors: {
  custom: {
    50: '#6a9e65',
    500: '#227628',
    950: '#000000',
  },
}
SCSS
$custom: #227628;
$custom-light: #6a9e65;
$custom-dark: #000000;
JSON
{
  "hex": "#227628",
  "rgb": {
    "r": 34,
    "g": 118,
    "b": 40
  },
  "hsl": {
    "h": 124.286,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.49858,
    "c": 0.13869,
    "h": 144.2
  },
  "luminance": 0.1345
}

Semantic roles & 50–950 ramp

primary
#227628
secondary
#A94BA2
accent
#49D4DF
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #227628

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

Preview Lab → · Contrast checker → · Palette generator →

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