#227E46#227E46

#227E46 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.6% C 0.122 H 152.2°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#227E46
RGBrgb(34, 126, 70)
HSLhsl(143, 58%, 31%)
HSVhsv(143, 73%, 49%)
CMYKcmyk(73%, 0%, 44.4%, 50.6%)
CIE-LABlab(46.58, -39.97, 22.97)
CIE-LCHlch(46.58, 46.10, 150.11°)
OKLaboklab(52.59% -0.1077 0.0568)
OKLCHoklch(52.59% 0.122 152.2)
XYZxyz(9.2252, 15.7030, 8.3379)
Luminance0.1570 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227E46 #7E225A
analogous
#2C7E22 #227E46 #227E74
triadic
#227E46 #46227E #7E4622
tetradic
#227E46 #222C7E #7E225A #7E7422
square
#227E46 #222C7E #7E225A #7E7422
split-complementary
#227E46 #74227E #7E222C
monochromatic
#081E10 #154E2B #227E46 #2FAE61 #4CCF7F

Accessibility & contrast

On white

5.07
#227E46 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#227E46 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227E46
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227E46#FFFFFF#000000##FFFFFF
##227E461.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7342
Deuteranopia (green-blind)
#736B4A
Tritanopia (blue-blind)
#007C70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #227e46;
/* rgb */ color: rgb(34, 126, 70);
/* oklch */ color: oklch(52.6% 0.122 152.2);
Tailwind
colors: {
  custom: {
    50: '#6ba47a',
    500: '#227e46',
    950: '#000000',
  },
}
SCSS
$custom: #227e46;
$custom-light: #6ba47a;
$custom-dark: #000000;
JSON
{
  "hex": "#227e46",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 70
  },
  "hsl": {
    "h": 143.478,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52592,
    "c": 0.12174,
    "h": 152.2
  },
  "luminance": 0.15704
}

Semantic roles & 50–950 ramp

primary
#227E46
secondary
#B14B89
accent
#47A5E1
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #227E46

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

Preview Lab → · Contrast checker → · Palette generator →

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