#227631#227631

#227631 is a mid, vivid green. Relative luminance 0.135; OKLCH L 50.0% C 0.131 H 146.3°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#227631
RGBrgb(34, 118, 49)
HSLhsl(131, 55%, 30%)
HSVhsv(131, 71%, 46%)
CMYKcmyk(71.2%, 0%, 58.5%, 53.7%)
CIE-LABlab(43.53, -40.34, 30.51)
CIE-LCHlch(43.53, 50.57, 142.90°)
OKLaboklab(49.97% -0.1089 0.0727)
OKLCHoklch(49.97% 0.131 146.3)
XYZxyz(7.6920, 13.5179, 5.1090)
Luminance0.1352 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227631 #762267
analogous
#3D7622 #227631 #22765B
triadic
#227631 #312276 #763122
tetradic
#227631 #223D76 #762267 #765B22
square
#227631 #223D76 #762267 #765B22
split-complementary
#227631 #5B2276 #76223D
monochromatic
#07180A #14461D #227631 #30A645 #48CA5F

Accessibility & contrast

On white

5.67
#227631 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#227631 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227631
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227631#FFFFFF#000000##FFFFFF
##2276311.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786B2A
Deuteranopia (green-blind)
#6E6436
Tritanopia (blue-blind)
#027367
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #227631;
/* rgb */ color: rgb(34, 118, 49);
/* oklch */ color: oklch(50.0% 0.131 146.3);
Tailwind
colors: {
  custom: {
    50: '#699e6b',
    500: '#227631',
    950: '#000000',
  },
}
SCSS
$custom: #227631;
$custom-light: #699e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#227631",
  "rgb": {
    "r": 34,
    "g": 118,
    "b": 49
  },
  "hsl": {
    "h": 130.714,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.49974,
    "c": 0.13089,
    "h": 146.3
  },
  "luminance": 0.13519
}

Semantic roles & 50–950 ramp

primary
#227631
secondary
#A94B98
accent
#49C4DF
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #227631

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

Preview Lab → · Contrast checker → · Palette generator →

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