#227B34#227B34

#227B34 is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.4% C 0.135 H 146.7°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#227B34
RGBrgb(34, 123, 52)
HSLhsl(132, 57%, 31%)
HSVhsv(132, 72%, 48%)
CMYKcmyk(72.4%, 0%, 57.7%, 51.8%)
CIE-LABlab(45.29, -41.82, 31.06)
CIE-LCHlch(45.29, 52.09, 143.40°)
OKLaboklab(51.44% -0.1128 0.0741)
OKLCHoklch(51.44% 0.135 146.7)
XYZxyz(8.3619, 14.7530, 5.6551)
Luminance0.1475 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227B34 #7B2269
analogous
#3C7B22 #227B34 #227B60
triadic
#227B34 #34227B #7B3422
tetradic
#227B34 #223C7B #7B2269 #7B6022
square
#227B34 #223C7B #7B2269 #7B6022
split-complementary
#227B34 #60227B #7B223C
monochromatic
#071B0B #154B20 #227B34 #2FAB48 #4ACD65

Accessibility & contrast

On white

5.32
#227B34 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#227B34 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227B34
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227B34#FFFFFF#000000##FFFFFF
##227B341.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D702D
Deuteranopia (green-blind)
#726839
Tritanopia (blue-blind)
#00786B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #227b34;
/* rgb */ color: rgb(34, 123, 52);
/* oklch */ color: oklch(51.4% 0.135 146.7);
Tailwind
colors: {
  custom: {
    50: '#6ba26d',
    500: '#227b34',
    950: '#000000',
  },
}
SCSS
$custom: #227b34;
$custom-light: #6ba26d;
$custom-dark: #000000;
JSON
{
  "hex": "#227b34",
  "rgb": {
    "r": 34,
    "g": 123,
    "b": 52
  },
  "hsl": {
    "h": 132.135,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51442,
    "c": 0.13494,
    "h": 146.7
  },
  "luminance": 0.14754
}

Semantic roles & 50–950 ramp

primary
#227B34
secondary
#AE4B9A
accent
#48C1E0
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #227B34

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

Preview Lab → · Contrast checker → · Palette generator →

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