#227112#227112

#227112 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.2% C 0.147 H 140.9°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#227112
RGBrgb(34, 113, 18)
HSLhsl(110, 73%, 26%)
HSVhsv(110, 84%, 44%)
CMYKcmyk(69.9%, 0%, 84.1%, 55.7%)
CIE-LABlab(41.52, -41.66, 41.78)
CIE-LCHlch(41.52, 59.00, 134.92°)
OKLaboklab(48.22% -0.114 0.0927)
OKLCHoklch(48.22% 0.147 140.9)
XYZxyz(6.6737, 12.1933, 2.5740)
Luminance0.1219 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227112 #611271
analogous
#517112 #227112 #127131
triadic
#227112 #122271 #711222
tetradic
#227112 #125171 #611271 #713112
square
#227112 #125171 #611271 #713112
split-complementary
#227112 #311271 #711251
monochromatic
#081A04 #123C0A #227112 #32A61A #42DB23

Accessibility & contrast

On white

6.11
#227112 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#227112 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227112
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227112#FFFFFF#000000##FFFFFF
##2271121.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746600
Deuteranopia (green-blind)
#6B601E
Tritanopia (blue-blind)
#136D60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #227112;
/* rgb */ color: rgb(34, 113, 18);
/* oklch */ color: oklch(48.2% 0.147 140.9);
Tailwind
colors: {
  custom: {
    50: '#6a9b59',
    500: '#227112',
    950: '#000000',
  },
}
SCSS
$custom: #227112;
$custom-light: #6a9b59;
$custom-dark: #000000;
JSON
{
  "hex": "#227112",
  "rgb": {
    "r": 34,
    "g": 113,
    "b": 18
  },
  "hsl": {
    "h": 109.895,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48221,
    "c": 0.14696,
    "h": 140.9
  },
  "luminance": 0.12194
}

Semantic roles & 50–950 ramp

primary
#227112
secondary
#9537A8
accent
#39EFD0
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #227112

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

Preview Lab → · Contrast checker → · Palette generator →

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