#227A35#227A35

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

Color values

HEX#227A35
RGBrgb(34, 122, 53)
HSLhsl(133, 56%, 31%)
HSVhsv(133, 72%, 48%)
CMYKcmyk(72.1%, 0%, 56.6%, 52.2%)
CIE-LABlab(44.96, -41.29, 30.14)
CIE-LCHlch(44.96, 51.12, 143.87°)
OKLaboklab(51.17% -0.1113 0.0722)
OKLCHoklch(51.17% 0.133 147)
XYZxyz(8.2612, 14.5153, 5.7338)
Luminance0.1452 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227A35 #7A2267
analogous
#3B7A22 #227A35 #227A61
triadic
#227A35 #35227A #7A3522
tetradic
#227A35 #223B7A #7A2267 #7A6122
square
#227A35 #223B7A #7A2267 #7A6122
split-complementary
#227A35 #61227A #7A223B
monochromatic
#071A0B #154A20 #227A35 #2FAA4A #4ACD66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##227A35#FFFFFF#000000##FFFFFF
##227A351.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)
#7C6F2F
Deuteranopia (green-blind)
#71683A
Tritanopia (blue-blind)
#00776A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #227a35;
/* rgb */ color: rgb(34, 122, 53);
/* oklch */ color: oklch(51.2% 0.133 147.0);
Tailwind
colors: {
  custom: {
    50: '#6aa16e',
    500: '#227a35',
    950: '#000000',
  },
}
SCSS
$custom: #227a35;
$custom-light: #6aa16e;
$custom-dark: #000000;
JSON
{
  "hex": "#227a35",
  "rgb": {
    "r": 34,
    "g": 122,
    "b": 53
  },
  "hsl": {
    "h": 132.955,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51172,
    "c": 0.13266,
    "h": 147
  },
  "luminance": 0.14516
}

Semantic roles & 50–950 ramp

primary
#227A35
secondary
#AD4B98
accent
#48BFE0
background
#F6FAF6
surface
#ECF3EC
border
#C7CDC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #227A35

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

Preview Lab → · Contrast checker → · Palette generator →

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