#227A46#227A46

#227A46 is a mid, moderate green. Relative luminance 0.147; OKLCH L 51.5% C 0.116 H 153.0°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#227A46
RGBrgb(34, 122, 70)
HSLhsl(145, 56%, 31%)
HSVhsv(145, 72%, 48%)
CMYKcmyk(72.1%, 0%, 42.6%, 52.2%)
CIE-LABlab(45.22, -38.34, 21.19)
CIE-LCHlch(45.22, 43.81, 151.07°)
OKLaboklab(51.47% -0.1034 0.0526)
OKLCHoklch(51.47% 0.116 153)
XYZxyz(8.7240, 14.7004, 8.1709)
Luminance0.1470 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227A46 #7A2256
analogous
#2A7A22 #227A46 #227A72
triadic
#227A46 #46227A #7A4622
tetradic
#227A46 #222A7A #7A2256 #7A7222
square
#227A46 #222A7A #7A2256 #7A7222
split-complementary
#227A46 #72227A #7A222A
monochromatic
#071A0F #154A2B #227A46 #2FAA61 #4ACD7F

Accessibility & contrast

On white

5.33
#227A46 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#227A46 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227A46
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227A46#FFFFFF#000000##FFFFFF
##227A461.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7042
Deuteranopia (green-blind)
#6F6849
Tritanopia (blue-blind)
#00786D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #227a46;
/* rgb */ color: rgb(34, 122, 70);
/* oklch */ color: oklch(51.5% 0.116 153.0);
Tailwind
colors: {
  custom: {
    50: '#6aa17a',
    500: '#227a46',
    950: '#000000',
  },
}
SCSS
$custom: #227a46;
$custom-light: #6aa17a;
$custom-dark: #000000;
JSON
{
  "hex": "#227a46",
  "rgb": {
    "r": 34,
    "g": 122,
    "b": 70
  },
  "hsl": {
    "h": 144.545,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51469,
    "c": 0.11603,
    "h": 153
  },
  "luminance": 0.14701
}

Semantic roles & 50–950 ramp

primary
#227A46
secondary
#AD4B85
accent
#48A2E0
background
#F6FAF7
surface
#ECF3ED
border
#C7CDC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #227A46

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

Preview Lab → · Contrast checker → · Palette generator →

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