#227A36#227A36

#227A36 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.2% C 0.132 H 147.3°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#227A36
RGBrgb(34, 122, 54)
HSLhsl(134, 56%, 31%)
HSVhsv(134, 72%, 48%)
CMYKcmyk(72.1%, 0%, 55.7%, 52.2%)
CIE-LABlab(44.98, -41.14, 29.64)
CIE-LCHlch(44.98, 50.70, 144.23°)
OKLaboklab(51.19% -0.1109 0.0711)
OKLCHoklch(51.19% 0.132 147.3)
XYZxyz(8.2845, 14.5246, 5.8562)
Luminance0.1452 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227A36 #7A2266
analogous
#3A7A22 #227A36 #227A62
triadic
#227A36 #36227A #7A3622
tetradic
#227A36 #223A7A #7A2266 #7A6222
square
#227A36 #223A7A #7A2266 #7A6222
split-complementary
#227A36 #62227A #7A223A
monochromatic
#071A0C #154A21 #227A36 #2FAA4B #4ACD68

Accessibility & contrast

On white

5.38
#227A36 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#227A36 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227A36
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227A36#FFFFFF#000000##FFFFFF
##227A361.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6F30
Deuteranopia (green-blind)
#71683B
Tritanopia (blue-blind)
#00776B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #227a36;
/* rgb */ color: rgb(34, 122, 54);
/* oklch */ color: oklch(51.2% 0.132 147.3);
Tailwind
colors: {
  custom: {
    50: '#6aa16f',
    500: '#227a36',
    950: '#000000',
  },
}
SCSS
$custom: #227a36;
$custom-light: #6aa16f;
$custom-dark: #000000;
JSON
{
  "hex": "#227a36",
  "rgb": {
    "r": 34,
    "g": 122,
    "b": 54
  },
  "hsl": {
    "h": 133.636,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51187,
    "c": 0.13173,
    "h": 147.3
  },
  "luminance": 0.14525
}

Semantic roles & 50–950 ramp

primary
#227A36
secondary
#AD4B97
accent
#48BDE0
background
#F6FAF6
surface
#ECF3EC
border
#C7CDC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #227A36

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

Preview Lab → · Contrast checker → · Palette generator →

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