#227E33#227E33

#227E33 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.3% C 0.140 H 146.2°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#227E33
RGBrgb(34, 126, 51)
HSLhsl(131, 58%, 31%)
HSVhsv(131, 73%, 49%)
CMYKcmyk(73%, 0%, 59.5%, 50.6%)
CIE-LABlab(46.31, -43.10, 32.78)
CIE-LCHlch(46.31, 54.14, 142.75°)
OKLaboklab(52.28% -0.1162 0.0778)
OKLCHoklch(52.28% 0.14 146.2)
XYZxyz(8.7175, 15.4998, 5.6637)
Luminance0.1550 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227E33 #7E226D
analogous
#3F7E22 #227E33 #227E61
triadic
#227E33 #33227E #7E3322
tetradic
#227E33 #223F7E #7E226D #7E6122
square
#227E33 #223F7E #7E226D #7E6122
split-complementary
#227E33 #61227E #7E223F
monochromatic
#081E0C #154E1F #227E33 #2FAE47 #4CCF64

Accessibility & contrast

On white

5.12
#227E33 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#227E33 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227E33
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227E33#FFFFFF#000000##FFFFFF
##227E331.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80722C
Deuteranopia (green-blind)
#756B39
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #227e33;
/* rgb */ color: rgb(34, 126, 51);
/* oklch */ color: oklch(52.3% 0.140 146.2);
Tailwind
colors: {
  custom: {
    50: '#6ba46d',
    500: '#227e33',
    950: '#000000',
  },
}
SCSS
$custom: #227e33;
$custom-light: #6ba46d;
$custom-dark: #000000;
JSON
{
  "hex": "#227e33",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 51
  },
  "hsl": {
    "h": 131.087,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5228,
    "c": 0.13986,
    "h": 146.2
  },
  "luminance": 0.15501
}

Semantic roles & 50–950 ramp

primary
#227E33
secondary
#B14B9E
accent
#47C4E1
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #227E33

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

Preview Lab → · Contrast checker → · Palette generator →

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