#227B43#227B43

#227B43 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.7% C 0.120 H 151.6°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#227B43
RGBrgb(34, 123, 67)
HSLhsl(142, 57%, 31%)
HSVhsv(142, 72%, 48%)
CMYKcmyk(72.4%, 0%, 45.5%, 51.8%)
CIE-LABlab(45.51, -39.32, 23.26)
CIE-LCHlch(45.51, 45.69, 149.40°)
OKLaboklab(51.69% -0.1059 0.0573)
OKLCHoklch(51.69% 0.12 151.6)
XYZxyz(8.7550, 14.9103, 7.7257)
Luminance0.1491 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227B43 #7B225A
analogous
#2D7B22 #227B43 #227B6F
triadic
#227B43 #43227B #7B4322
tetradic
#227B43 #222D7B #7B225A #7B6F22
square
#227B43 #222D7B #7B225A #7B6F22
split-complementary
#227B43 #6F227B #7B222D
monochromatic
#071B0F #154B29 #227B43 #2FAB5D #4ACD7B

Accessibility & contrast

On white

5.27
#227B43 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#227B43 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227B43
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227B43#FFFFFF#000000##FFFFFF
##227B431.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B703F
Deuteranopia (green-blind)
#706947
Tritanopia (blue-blind)
#00796D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #227b43;
/* rgb */ color: rgb(34, 123, 67);
/* oklch */ color: oklch(51.7% 0.120 151.6);
Tailwind
colors: {
  custom: {
    50: '#6aa278',
    500: '#227b43',
    950: '#000000',
  },
}
SCSS
$custom: #227b43;
$custom-light: #6aa278;
$custom-dark: #000000;
JSON
{
  "hex": "#227b43",
  "rgb": {
    "r": 34,
    "g": 123,
    "b": 67
  },
  "hsl": {
    "h": 142.247,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51692,
    "c": 0.12046,
    "h": 151.6
  },
  "luminance": 0.14911
}

Semantic roles & 50–950 ramp

primary
#227B43
secondary
#AE4B89
accent
#48A8E0
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #227B43

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

Preview Lab → · Contrast checker → · Palette generator →

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