#227C35#227C35

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

Color values

HEX#227C35
RGBrgb(34, 124, 53)
HSLhsl(133, 57%, 31%)
HSVhsv(133, 73%, 49%)
CMYKcmyk(72.6%, 0%, 57.3%, 51.4%)
CIE-LABlab(45.65, -42.06, 30.97)
CIE-LCHlch(45.65, 52.23, 143.63°)
OKLaboklab(51.74% -0.1134 0.074)
OKLCHoklch(51.74% 0.135 146.9)
XYZxyz(8.5093, 15.0115, 5.8165)
Luminance0.1501 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227C35 #7C2269
analogous
#3C7C22 #227C35 #227C62
triadic
#227C35 #35227C #7C3522
tetradic
#227C35 #223C7C #7C2269 #7C6222
square
#227C35 #223C7C #7C2269 #7C6222
split-complementary
#227C35 #62227C #7C223C
monochromatic
#081C0C #154C20 #227C35 #2FAC4A #4BCE66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##227C35#FFFFFF#000000##FFFFFF
##227C351.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)
#7E712E
Deuteranopia (green-blind)
#73693A
Tritanopia (blue-blind)
#00796C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #227c35;
/* rgb */ color: rgb(34, 124, 53);
/* oklch */ color: oklch(51.7% 0.135 146.9);
Tailwind
colors: {
  custom: {
    50: '#6ba36e',
    500: '#227c35',
    950: '#000000',
  },
}
SCSS
$custom: #227c35;
$custom-light: #6ba36e;
$custom-dark: #000000;
JSON
{
  "hex": "#227c35",
  "rgb": {
    "r": 34,
    "g": 124,
    "b": 53
  },
  "hsl": {
    "h": 132.667,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.5174,
    "c": 0.13537,
    "h": 146.9
  },
  "luminance": 0.15012
}

Semantic roles & 50–950 ramp

primary
#227C35
secondary
#AF4B9A
accent
#48C0E0
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #227C35

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

Preview Lab → · Contrast checker → · Palette generator →

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