#227231#227231

#227231 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.8% C 0.125 H 146.6°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#227231
RGBrgb(34, 114, 49)
HSLhsl(131, 54%, 29%)
HSVhsv(131, 70%, 45%)
CMYKcmyk(70.2%, 0%, 57%, 55.3%)
CIE-LABlab(42.15, -38.77, 28.85)
CIE-LCHlch(42.15, 48.33, 143.35°)
OKLaboklab(48.83% -0.1046 0.069)
OKLCHoklch(48.83% 0.125 146.6)
XYZxyz(7.2309, 12.5957, 4.9553)
Luminance0.1260 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227231 #722263
analogous
#3B7222 #227231 #227259
triadic
#227231 #312272 #723122
tetradic
#227231 #223B72 #722263 #725922
square
#227231 #223B72 #722263 #725922
split-complementary
#227231 #592272 #72223B
monochromatic
#07180A #14431D #227231 #30A145 #46C85F

Accessibility & contrast

On white

5.97
#227231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#227231 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227231
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227231#FFFFFF#000000##FFFFFF
##2272311.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74682B
Deuteranopia (green-blind)
#6A6136
Tritanopia (blue-blind)
#066F63
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #227231;
/* rgb */ color: rgb(34, 114, 49);
/* oklch */ color: oklch(48.8% 0.125 146.6);
Tailwind
colors: {
  custom: {
    50: '#699b6b',
    500: '#227231',
    950: '#000000',
  },
}
SCSS
$custom: #227231;
$custom-light: #699b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#227231",
  "rgb": {
    "r": 34,
    "g": 114,
    "b": 49
  },
  "hsl": {
    "h": 131.25,
    "s": 54.054,
    "l": 29.02
  },
  "oklch": {
    "l": 0.48828,
    "c": 0.12536,
    "h": 146.6
  },
  "luminance": 0.12596
}

Semantic roles & 50–950 ramp

primary
#227231
secondary
#A54B94
accent
#4AC2DD
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #227231

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

Preview Lab → · Contrast checker → · Palette generator →

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