#227B26#227B26

#227B26 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.3% C 0.147 H 143.7°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#227B26
RGBrgb(34, 123, 38)
HSLhsl(123, 57%, 31%)
HSVhsv(123, 72%, 48%)
CMYKcmyk(72.4%, 0%, 69.1%, 51.8%)
CIE-LABlab(45.14, -43.59, 37.66)
CIE-LCHlch(45.14, 57.61, 139.17°)
OKLaboklab(51.27% -0.1181 0.0869)
OKLCHoklch(51.27% 0.147 143.7)
XYZxyz(8.0920, 14.6451, 4.2337)
Luminance0.1465 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227B26 #7B2277
analogous
#4A7B22 #227B26 #227B52
triadic
#227B26 #26227B #7B2622
tetradic
#227B26 #224A7B #7B2277 #7B5222
square
#227B26 #224A7B #7B2277 #7B5222
split-complementary
#227B26 #52227B #7B224A
monochromatic
#071B08 #154B17 #227B26 #2FAB35 #4ACD50

Accessibility & contrast

On white

5.34
#227B26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#227B26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227B26
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227B26#FFFFFF#000000##FFFFFF
##227B261.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F1B
Deuteranopia (green-blind)
#73682E
Tritanopia (blue-blind)
#05776A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #227b26;
/* rgb */ color: rgb(34, 123, 38);
/* oklch */ color: oklch(51.3% 0.147 143.7);
Tailwind
colors: {
  custom: {
    50: '#6ba265',
    500: '#227b26',
    950: '#000000',
  },
}
SCSS
$custom: #227b26;
$custom-light: #6ba265;
$custom-dark: #000000;
JSON
{
  "hex": "#227b26",
  "rgb": {
    "r": 34,
    "g": 123,
    "b": 38
  },
  "hsl": {
    "h": 122.697,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.5127,
    "c": 0.14668,
    "h": 143.7
  },
  "luminance": 0.14646
}

Semantic roles & 50–950 ramp

primary
#227B26
secondary
#AE4BA9
accent
#48D9E0
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #227B26

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

Preview Lab → · Contrast checker → · Palette generator →

#227B26 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva