#227726#227726

#227726 is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.1% C 0.142 H 143.7°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#227726
RGBrgb(34, 119, 38)
HSLhsl(123, 56%, 30%)
HSVhsv(123, 71%, 47%)
CMYKcmyk(71.4%, 0%, 68.1%, 53.3%)
CIE-LABlab(43.76, -42.12, 36.15)
CIE-LCHlch(43.76, 55.51, 139.36°)
OKLaboklab(50.12% -0.1142 0.0837)
OKLCHoklch(50.12% 0.142 143.7)
XYZxyz(7.6059, 13.6729, 4.0716)
Luminance0.1367 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227726 #772273
analogous
#487722 #227726 #227751
triadic
#227726 #262277 #772622
tetradic
#227726 #224877 #772273 #775122
square
#227726 #224877 #772273 #775122
split-complementary
#227726 #512277 #772248
monochromatic
#071808 #144717 #227726 #30A735 #49CB4F

Accessibility & contrast

On white

5.62
#227726 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#227726 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227726
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227726#FFFFFF#000000##FFFFFF
##2277261.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796C1C
Deuteranopia (green-blind)
#6F652D
Tritanopia (blue-blind)
#087466
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #227726;
/* rgb */ color: rgb(34, 119, 38);
/* oklch */ color: oklch(50.1% 0.142 143.7);
Tailwind
colors: {
  custom: {
    50: '#6a9f64',
    500: '#227726',
    950: '#000000',
  },
}
SCSS
$custom: #227726;
$custom-light: #6a9f64;
$custom-dark: #000000;
JSON
{
  "hex": "#227726",
  "rgb": {
    "r": 34,
    "g": 119,
    "b": 38
  },
  "hsl": {
    "h": 122.824,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.50123,
    "c": 0.14158,
    "h": 143.7
  },
  "luminance": 0.13674
}

Semantic roles & 50–950 ramp

primary
#227726
secondary
#AA4BA6
accent
#49D8DF
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #227726

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

Preview Lab → · Contrast checker → · Palette generator →

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