#227331#227331

#227331 is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.1% C 0.127 H 146.5°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#227331
RGBrgb(34, 115, 49)
HSLhsl(131, 54%, 29%)
HSVhsv(131, 70%, 45%)
CMYKcmyk(70.4%, 0%, 57.4%, 54.9%)
CIE-LABlab(42.49, -39.17, 29.27)
CIE-LCHlch(42.49, 48.89, 143.23°)
OKLaboklab(49.11% -0.1057 0.07)
OKLCHoklch(49.11% 0.127 146.5)
XYZxyz(7.3443, 12.8225, 4.9931)
Luminance0.1282 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227331 #732264
analogous
#3C7322 #227331 #22735A
triadic
#227331 #312273 #733122
tetradic
#227331 #223C73 #732264 #735A22
square
#227331 #223C73 #732264 #735A22
split-complementary
#227331 #5A2273 #73223C
monochromatic
#07180A #14441D #227331 #30A245 #47C95F

Accessibility & contrast

On white

5.89
#227331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#227331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227331
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227331#FFFFFF#000000##FFFFFF
##2273311.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75682B
Deuteranopia (green-blind)
#6B6236
Tritanopia (blue-blind)
#057064
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #227331;
/* rgb */ color: rgb(34, 115, 49);
/* oklch */ color: oklch(49.1% 0.127 146.5);
Tailwind
colors: {
  custom: {
    50: '#699c6b',
    500: '#227331',
    950: '#000000',
  },
}
SCSS
$custom: #227331;
$custom-light: #699c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#227331",
  "rgb": {
    "r": 34,
    "g": 115,
    "b": 49
  },
  "hsl": {
    "h": 131.111,
    "s": 54.362,
    "l": 29.216
  },
  "oklch": {
    "l": 0.49115,
    "c": 0.12675,
    "h": 146.5
  },
  "luminance": 0.12823
}

Semantic roles & 50–950 ramp

primary
#227331
secondary
#A64B95
accent
#4AC2DE
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #227331

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

Preview Lab → · Contrast checker → · Palette generator →

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