#227C33#227C33

#227C33 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.7% C 0.137 H 146.4°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#227C33
RGBrgb(34, 124, 51)
HSLhsl(131, 57%, 31%)
HSVhsv(131, 73%, 49%)
CMYKcmyk(72.6%, 0%, 58.9%, 51.4%)
CIE-LABlab(45.63, -42.34, 31.97)
CIE-LCHlch(45.63, 53.05, 142.95°)
OKLaboklab(51.71% -0.1142 0.076)
OKLCHoklch(51.71% 0.137 146.4)
XYZxyz(8.4643, 14.9935, 5.5793)
Luminance0.1499 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227C33 #7C226B
analogous
#3E7C22 #227C33 #227C60
triadic
#227C33 #33227C #7C3322
tetradic
#227C33 #223E7C #7C226B #7C6022
square
#227C33 #223E7C #7C226B #7C6022
split-complementary
#227C33 #60227C #7C223E
monochromatic
#081C0B #154C1F #227C33 #2FAC47 #4BCE64

Accessibility & contrast

On white

5.25
#227C33 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#227C33 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227C33
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227C33#FFFFFF#000000##FFFFFF
##227C331.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E712C
Deuteranopia (green-blind)
#736939
Tritanopia (blue-blind)
#00796C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #227c33;
/* rgb */ color: rgb(34, 124, 51);
/* oklch */ color: oklch(51.7% 0.137 146.4);
Tailwind
colors: {
  custom: {
    50: '#6ba36d',
    500: '#227c33',
    950: '#000000',
  },
}
SCSS
$custom: #227c33;
$custom-light: #6ba36d;
$custom-dark: #000000;
JSON
{
  "hex": "#227c33",
  "rgb": {
    "r": 34,
    "g": 124,
    "b": 51
  },
  "hsl": {
    "h": 131.333,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51712,
    "c": 0.13719,
    "h": 146.4
  },
  "luminance": 0.14994
}

Semantic roles & 50–950 ramp

primary
#227C33
secondary
#AF4B9C
accent
#48C3E0
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #227C33

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

Preview Lab → · Contrast checker → · Palette generator →

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