#227C36#227C36

#227C36 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.8% C 0.134 H 147.1°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#227C36
RGBrgb(34, 124, 54)
HSLhsl(133, 57%, 31%)
HSVhsv(133, 73%, 49%)
CMYKcmyk(72.6%, 0%, 56.5%, 51.4%)
CIE-LABlab(45.66, -41.91, 30.47)
CIE-LCHlch(45.66, 51.81, 143.98°)
OKLaboklab(51.76% -0.1129 0.073)
OKLCHoklch(51.76% 0.134 147.1)
XYZxyz(8.5326, 15.0208, 5.9389)
Luminance0.1502 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227C36 #7C2268
analogous
#3B7C22 #227C36 #227C63
triadic
#227C36 #36227C #7C3622
tetradic
#227C36 #223B7C #7C2268 #7C6322
square
#227C36 #223B7C #7C2268 #7C6322
split-complementary
#227C36 #63227C #7C223B
monochromatic
#081C0C #154C21 #227C36 #2FAC4B #4BCE68

Accessibility & contrast

On white

5.24
#227C36 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #227C36
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227C36#FFFFFF#000000##FFFFFF
##227C361.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7130
Deuteranopia (green-blind)
#73693B
Tritanopia (blue-blind)
#00796C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #227c36;
/* rgb */ color: rgb(34, 124, 54);
/* oklch */ color: oklch(51.8% 0.134 147.1);
Tailwind
colors: {
  custom: {
    50: '#6ba36f',
    500: '#227c36',
    950: '#000000',
  },
}
SCSS
$custom: #227c36;
$custom-light: #6ba36f;
$custom-dark: #000000;
JSON
{
  "hex": "#227c36",
  "rgb": {
    "r": 34,
    "g": 124,
    "b": 54
  },
  "hsl": {
    "h": 133.333,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51755,
    "c": 0.13445,
    "h": 147.1
  },
  "luminance": 0.15022
}

Semantic roles & 50–950 ramp

primary
#227C36
secondary
#AF4B99
accent
#48BEE0
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #227C36

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

Preview Lab → · Contrast checker → · Palette generator →

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