#227F33#227F33

#227F33 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.141 H 146.1°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#227F33
RGBrgb(34, 127, 51)
HSLhsl(131, 58%, 32%)
HSVhsv(131, 73%, 50%)
CMYKcmyk(73.2%, 0%, 59.8%, 50.2%)
CIE-LABlab(46.65, -43.47, 33.18)
CIE-LCHlch(46.65, 54.69, 142.65°)
OKLaboklab(52.56% -0.1173 0.0787)
OKLCHoklch(52.56% 0.141 146.1)
XYZxyz(8.8460, 15.7569, 5.7065)
Luminance0.1576 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F33 #7F226E
analogous
#407F22 #227F33 #227F62
triadic
#227F33 #33227F #7F3322
tetradic
#227F33 #22407F #7F226E #7F6222
square
#227F33 #22407F #7F226E #7F6222
split-complementary
#227F33 #62227F #7F2240
monochromatic
#081E0C #154F20 #227F33 #2FAF46 #4CCF64

Accessibility & contrast

On white

5.06
#227F33 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#227F33 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227F33
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227F33#FFFFFF#000000##FFFFFF
##227F331.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81732B
Deuteranopia (green-blind)
#766C39
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #227f33;
/* rgb */ color: rgb(34, 127, 51);
/* oklch */ color: oklch(52.6% 0.141 146.1);
Tailwind
colors: {
  custom: {
    50: '#6ca56d',
    500: '#227f33',
    950: '#000000',
  },
}
SCSS
$custom: #227f33;
$custom-light: #6ca56d;
$custom-dark: #000000;
JSON
{
  "hex": "#227f33",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 51
  },
  "hsl": {
    "h": 130.968,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52563,
    "c": 0.14119,
    "h": 146.1
  },
  "luminance": 0.15758
}

Semantic roles & 50–950 ramp

primary
#227F33
secondary
#B24B9F
accent
#47C5E1
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #227F33

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

Preview Lab → · Contrast checker → · Palette generator →

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