#227D33#227D33

#227D33 is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.0% C 0.139 H 146.3°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#227D33
RGBrgb(34, 125, 51)
HSLhsl(131, 57%, 31%)
HSVhsv(131, 73%, 49%)
CMYKcmyk(72.8%, 0%, 59.2%, 51%)
CIE-LABlab(45.97, -42.72, 32.37)
CIE-LCHlch(45.97, 53.60, 142.85°)
OKLaboklab(52% -0.1152 0.0769)
OKLCHoklch(52% 0.139 146.3)
XYZxyz(8.5902, 15.2454, 5.6213)
Luminance0.1525 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227D33 #7D226C
analogous
#3E7D22 #227D33 #227D60
triadic
#227D33 #33227D #7D3322
tetradic
#227D33 #223E7D #7D226C #7D6022
square
#227D33 #223E7D #7D226C #7D6022
split-complementary
#227D33 #60227D #7D223E
monochromatic
#081D0C #154D1F #227D33 #2FAD47 #4BCE64

Accessibility & contrast

On white

5.19
#227D33 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#227D33 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227D33
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227D33#FFFFFF#000000##FFFFFF
##227D331.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F712C
Deuteranopia (green-blind)
#746A39
Tritanopia (blue-blind)
#007A6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #227d33;
/* rgb */ color: rgb(34, 125, 51);
/* oklch */ color: oklch(52.0% 0.139 146.3);
Tailwind
colors: {
  custom: {
    50: '#6ba46d',
    500: '#227d33',
    950: '#000000',
  },
}
SCSS
$custom: #227d33;
$custom-light: #6ba46d;
$custom-dark: #000000;
JSON
{
  "hex": "#227d33",
  "rgb": {
    "r": 34,
    "g": 125,
    "b": 51
  },
  "hsl": {
    "h": 131.209,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.51996,
    "c": 0.13853,
    "h": 146.3
  },
  "luminance": 0.15246
}

Semantic roles & 50–950 ramp

primary
#227D33
secondary
#B04B9D
accent
#47C4E0
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #227D33

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

Preview Lab → · Contrast checker → · Palette generator →

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