#227A43#227A43

#227A43 is a mid, moderate green. Relative luminance 0.147; OKLCH L 51.4% C 0.119 H 151.8°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#227A43
RGBrgb(34, 122, 67)
HSLhsl(143, 56%, 31%)
HSVhsv(143, 72%, 48%)
CMYKcmyk(72.1%, 0%, 45.1%, 52.2%)
CIE-LABlab(45.17, -38.92, 22.81)
CIE-LCHlch(45.17, 45.11, 149.62°)
OKLaboklab(51.41% -0.1049 0.0563)
OKLCHoklch(51.41% 0.119 151.8)
XYZxyz(8.6316, 14.6634, 7.6845)
Luminance0.1466 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227A43 #7A2259
analogous
#2D7A22 #227A43 #227A6F
triadic
#227A43 #43227A #7A4322
tetradic
#227A43 #222D7A #7A2259 #7A6F22
square
#227A43 #222D7A #7A2259 #7A6F22
split-complementary
#227A43 #6F227A #7A222D
monochromatic
#071A0E #154A29 #227A43 #2FAA5D #4ACD7B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##227A43#FFFFFF#000000##FFFFFF
##227A431.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)
#7A6F3F
Deuteranopia (green-blind)
#706847
Tritanopia (blue-blind)
#00786D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #227a43;
/* rgb */ color: rgb(34, 122, 67);
/* oklch */ color: oklch(51.4% 0.119 151.8);
Tailwind
colors: {
  custom: {
    50: '#6aa178',
    500: '#227a43',
    950: '#000000',
  },
}
SCSS
$custom: #227a43;
$custom-light: #6aa178;
$custom-dark: #000000;
JSON
{
  "hex": "#227a43",
  "rgb": {
    "r": 34,
    "g": 122,
    "b": 67
  },
  "hsl": {
    "h": 142.5,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.5141,
    "c": 0.11904,
    "h": 151.8
  },
  "luminance": 0.14664
}

Semantic roles & 50–950 ramp

primary
#227A43
secondary
#AD4B88
accent
#48A7E0
background
#F6FAF7
surface
#ECF3ED
border
#C7CDC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #227A43

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

Preview Lab → · Contrast checker → · Palette generator →

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