#227B35#227B35

#227B35 is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.5% C 0.134 H 147.0°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#227B35
RGBrgb(34, 123, 53)
HSLhsl(133, 57%, 31%)
HSVhsv(133, 72%, 48%)
CMYKcmyk(72.4%, 0%, 56.9%, 51.8%)
CIE-LABlab(45.31, -41.67, 30.56)
CIE-LCHlch(45.31, 51.68, 143.75°)
OKLaboklab(51.46% -0.1123 0.0731)
OKLCHoklch(51.46% 0.134 147)
XYZxyz(8.3846, 14.7621, 5.7750)
Luminance0.1476 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227B35 #7B2268
analogous
#3B7B22 #227B35 #227B61
triadic
#227B35 #35227B #7B3522
tetradic
#227B35 #223B7B #7B2268 #7B6122
square
#227B35 #223B7B #7B2268 #7B6122
split-complementary
#227B35 #61227B #7B223B
monochromatic
#071B0C #154B20 #227B35 #2FAB4A #4ACD66

Accessibility & contrast

On white

5.31
#227B35 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#227B35 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227B35
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227B35#FFFFFF#000000##FFFFFF
##227B351.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D702E
Deuteranopia (green-blind)
#72683A
Tritanopia (blue-blind)
#00786B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #227b35;
/* rgb */ color: rgb(34, 123, 53);
/* oklch */ color: oklch(51.5% 0.134 147.0);
Tailwind
colors: {
  custom: {
    50: '#6aa26e',
    500: '#227b35',
    950: '#000000',
  },
}
SCSS
$custom: #227b35;
$custom-light: #6aa26e;
$custom-dark: #000000;
JSON
{
  "hex": "#227b35",
  "rgb": {
    "r": 34,
    "g": 123,
    "b": 53
  },
  "hsl": {
    "h": 132.809,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51457,
    "c": 0.13402,
    "h": 147
  },
  "luminance": 0.14763
}

Semantic roles & 50–950 ramp

primary
#227B35
secondary
#AE4B99
accent
#48BFE0
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #227B35

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

Preview Lab → · Contrast checker → · Palette generator →

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