#227A26#227A26

#227A26 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.0% C 0.145 H 143.7°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#227A26
RGBrgb(34, 122, 38)
HSLhsl(123, 56%, 31%)
HSVhsv(123, 72%, 48%)
CMYKcmyk(72.1%, 0%, 68.9%, 52.2%)
CIE-LABlab(44.80, -43.23, 37.29)
CIE-LCHlch(44.80, 57.09, 139.22°)
OKLaboklab(50.98% -0.1172 0.0861)
OKLCHoklch(50.98% 0.145 143.7)
XYZxyz(7.9686, 14.3982, 4.1925)
Luminance0.1440 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227A26 #7A2276
analogous
#4A7A22 #227A26 #227A52
triadic
#227A26 #26227A #7A2622
tetradic
#227A26 #224A7A #7A2276 #7A5222
square
#227A26 #224A7A #7A2276 #7A5222
split-complementary
#227A26 #52227A #7A224A
monochromatic
#071A08 #154A17 #227A26 #2FAA35 #4ACD50

Accessibility & contrast

On white

5.41
#227A26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#227A26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227A26
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227A26#FFFFFF#000000##FFFFFF
##227A261.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E1B
Deuteranopia (green-blind)
#72672E
Tritanopia (blue-blind)
#067669
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #227a26;
/* rgb */ color: rgb(34, 122, 38);
/* oklch */ color: oklch(51.0% 0.145 143.7);
Tailwind
colors: {
  custom: {
    50: '#6ba165',
    500: '#227a26',
    950: '#000000',
  },
}
SCSS
$custom: #227a26;
$custom-light: #6ba165;
$custom-dark: #000000;
JSON
{
  "hex": "#227a26",
  "rgb": {
    "r": 34,
    "g": 122,
    "b": 38
  },
  "hsl": {
    "h": 122.727,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.50983,
    "c": 0.14542,
    "h": 143.7
  },
  "luminance": 0.14399
}

Semantic roles & 50–950 ramp

primary
#227A26
secondary
#AD4BA8
accent
#48D9E0
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #227A26

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

Preview Lab → · Contrast checker → · Palette generator →

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