#227731#227731

#227731 is a mid, vivid green. Relative luminance 0.138; OKLCH L 50.3% C 0.132 H 146.2°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#227731
RGBrgb(34, 119, 49)
HSLhsl(131, 56%, 30%)
HSVhsv(131, 71%, 47%)
CMYKcmyk(71.4%, 0%, 58.8%, 53.3%)
CIE-LABlab(43.88, -40.72, 30.92)
CIE-LCHlch(43.88, 51.13, 142.79°)
OKLaboklab(50.26% -0.1099 0.0736)
OKLCHoklch(50.26% 0.132 146.2)
XYZxyz(7.8103, 13.7546, 5.1484)
Luminance0.1376 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227731 #772268
analogous
#3E7722 #227731 #22775B
triadic
#227731 #312277 #773122
tetradic
#227731 #223E77 #772268 #775B22
square
#227731 #223E77 #772268 #775B22
split-complementary
#227731 #5B2277 #77223E
monochromatic
#07180A #14471D #227731 #30A745 #49CB60

Accessibility & contrast

On white

5.60
#227731 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#227731 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227731
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227731#FFFFFF#000000##FFFFFF
##2277311.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796C2A
Deuteranopia (green-blind)
#6F6536
Tritanopia (blue-blind)
#017467
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #227731;
/* rgb */ color: rgb(34, 119, 49);
/* oklch */ color: oklch(50.3% 0.132 146.2);
Tailwind
colors: {
  custom: {
    50: '#6a9f6b',
    500: '#227731',
    950: '#000000',
  },
}
SCSS
$custom: #227731;
$custom-light: #6a9f6b;
$custom-dark: #000000;
JSON
{
  "hex": "#227731",
  "rgb": {
    "r": 34,
    "g": 119,
    "b": 49
  },
  "hsl": {
    "h": 130.588,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.5026,
    "c": 0.13225,
    "h": 146.2
  },
  "luminance": 0.13755
}

Semantic roles & 50–950 ramp

primary
#227731
secondary
#AA4B99
accent
#49C4DF
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F07
muted
#7A7E7A

Preview Lab

Preview with #227731

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

Preview Lab → · Contrast checker → · Palette generator →

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