#227237#227237

#227237 is a mid, moderate green. Relative luminance 0.127; OKLCH L 48.9% C 0.120 H 148.5°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#227237
RGBrgb(34, 114, 55)
HSLhsl(136, 54%, 29%)
HSVhsv(136, 70%, 45%)
CMYKcmyk(70.2%, 0%, 51.8%, 55.3%)
CIE-LABlab(42.23, -37.82, 25.72)
CIE-LCHlch(42.23, 45.74, 145.78°)
OKLaboklab(48.92% -0.1019 0.0625)
OKLCHoklch(48.92% 0.12 148.5)
XYZxyz(7.3660, 12.6498, 5.6671)
Luminance0.1265 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227237 #72225D
analogous
#357222 #227237 #22725F
triadic
#227237 #372272 #723722
tetradic
#227237 #223572 #72225D #725F22
square
#227237 #223572 #72225D #725F22
split-complementary
#227237 #5F2272 #722235
monochromatic
#07180B #144320 #227237 #30A14E #46C868

Accessibility & contrast

On white

5.95
#227237 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#227237 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227237
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227237#FFFFFF#000000##FFFFFF
##2272371.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736832
Deuteranopia (green-blind)
#69613B
Tritanopia (blue-blind)
#017064
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #227237;
/* rgb */ color: rgb(34, 114, 55);
/* oklch */ color: oklch(48.9% 0.120 148.5);
Tailwind
colors: {
  custom: {
    50: '#689b6f',
    500: '#227237',
    950: '#000000',
  },
}
SCSS
$custom: #227237;
$custom-light: #689b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#227237",
  "rgb": {
    "r": 34,
    "g": 114,
    "b": 55
  },
  "hsl": {
    "h": 135.75,
    "s": 54.054,
    "l": 29.02
  },
  "oklch": {
    "l": 0.48924,
    "c": 0.11956,
    "h": 148.5
  },
  "luminance": 0.12651
}

Semantic roles & 50–950 ramp

primary
#227237
secondary
#A54B8D
accent
#4AB7DD
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #227237

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

Preview Lab → · Contrast checker → · Palette generator →

#227237 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva