#227B46#227B46

#227B46 is a mid, moderate green. Relative luminance 0.149; OKLCH L 51.7% C 0.117 H 152.8°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#227B46
RGBrgb(34, 123, 70)
HSLhsl(144, 57%, 31%)
HSVhsv(144, 72%, 48%)
CMYKcmyk(72.4%, 0%, 43.1%, 51.8%)
CIE-LABlab(45.56, -38.75, 21.64)
CIE-LCHlch(45.56, 44.38, 150.82°)
OKLaboklab(51.75% -0.1045 0.0537)
OKLCHoklch(51.75% 0.117 152.8)
XYZxyz(8.8474, 14.9472, 8.2120)
Luminance0.1495 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227B46 #7B2257
analogous
#2A7B22 #227B46 #227B72
triadic
#227B46 #46227B #7B4622
tetradic
#227B46 #222A7B #7B2257 #7B7222
square
#227B46 #222A7B #7B2257 #7B7222
split-complementary
#227B46 #72227B #7B222A
monochromatic
#071B0F #154B2B #227B46 #2FAB61 #4ACD7F

Accessibility & contrast

On white

5.26
#227B46 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#227B46 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227B46
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227B46#FFFFFF#000000##FFFFFF
##227B461.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B7142
Deuteranopia (green-blind)
#70694A
Tritanopia (blue-blind)
#00796E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #227b46;
/* rgb */ color: rgb(34, 123, 70);
/* oklch */ color: oklch(51.7% 0.117 152.8);
Tailwind
colors: {
  custom: {
    50: '#6aa27a',
    500: '#227b46',
    950: '#000000',
  },
}
SCSS
$custom: #227b46;
$custom-light: #6aa27a;
$custom-dark: #000000;
JSON
{
  "hex": "#227b46",
  "rgb": {
    "r": 34,
    "g": 123,
    "b": 70
  },
  "hsl": {
    "h": 144.27,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.5175,
    "c": 0.11747,
    "h": 152.8
  },
  "luminance": 0.14948
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #227B46

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

Preview Lab → · Contrast checker → · Palette generator →

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