#227B33#227B33

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

Color values

HEX#227B33
RGBrgb(34, 123, 51)
HSLhsl(131, 57%, 31%)
HSVhsv(131, 72%, 48%)
CMYKcmyk(72.4%, 0%, 58.5%, 51.8%)
CIE-LABlab(45.28, -41.96, 31.56)
CIE-LCHlch(45.28, 52.51, 143.06°)
OKLaboklab(51.43% -0.1132 0.0751)
OKLCHoklch(51.43% 0.136 146.4)
XYZxyz(8.3396, 14.7441, 5.5377)
Luminance0.1474 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227B33 #7B226A
analogous
#3D7B22 #227B33 #227B5F
triadic
#227B33 #33227B #7B3322
tetradic
#227B33 #223D7B #7B226A #7B5F22
square
#227B33 #223D7B #7B226A #7B5F22
split-complementary
#227B33 #5F227B #7B223D
monochromatic
#071B0B #154B1F #227B33 #2FAB47 #4ACD63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##227B33#FFFFFF#000000##FFFFFF
##227B331.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)
#7D702C
Deuteranopia (green-blind)
#726839
Tritanopia (blue-blind)
#00786B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #227b33;
/* rgb */ color: rgb(34, 123, 51);
/* oklch */ color: oklch(51.4% 0.136 146.4);
Tailwind
colors: {
  custom: {
    50: '#6ba26d',
    500: '#227b33',
    950: '#000000',
  },
}
SCSS
$custom: #227b33;
$custom-light: #6ba26d;
$custom-dark: #000000;
JSON
{
  "hex": "#227b33",
  "rgb": {
    "r": 34,
    "g": 123,
    "b": 51
  },
  "hsl": {
    "h": 131.461,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51428,
    "c": 0.13585,
    "h": 146.4
  },
  "luminance": 0.14745
}

Semantic roles & 50–950 ramp

primary
#227B33
secondary
#AE4B9B
accent
#48C3E0
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #227B33

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

Preview Lab → · Contrast checker → · Palette generator →

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