#227312#227312

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

Color values

HEX#227312
RGBrgb(34, 115, 18)
HSLhsl(110, 73%, 26%)
HSVhsv(110, 84%, 45%)
CMYKcmyk(70.4%, 0%, 84.3%, 54.9%)
CIE-LABlab(42.22, -42.39, 42.43)
CIE-LCHlch(42.22, 59.98, 134.97°)
OKLaboklab(48.8% -0.1159 0.0941)
OKLCHoklch(48.8% 0.149 140.9)
XYZxyz(6.8992, 12.6445, 2.6492)
Luminance0.1265 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227312 #631273
analogous
#527312 #227312 #127332
triadic
#227312 #122273 #731222
tetradic
#227312 #125273 #631273 #733212
square
#227312 #125273 #631273 #733212
split-complementary
#227312 #321273 #731252
monochromatic
#081A04 #123E0A #227312 #32A81A #41DD23

Accessibility & contrast

On white

5.95
#227312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#227312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227312
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227312#FFFFFF#000000##FFFFFF
##2273121.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#6D611E
Tritanopia (blue-blind)
#126F61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #227312;
/* rgb */ color: rgb(34, 115, 18);
/* oklch */ color: oklch(48.8% 0.149 140.9);
Tailwind
colors: {
  custom: {
    50: '#6a9c59',
    500: '#227312',
    950: '#000000',
  },
}
SCSS
$custom: #227312;
$custom-light: #6a9c59;
$custom-dark: #000000;
JSON
{
  "hex": "#227312",
  "rgb": {
    "r": 34,
    "g": 115,
    "b": 18
  },
  "hsl": {
    "h": 110.103,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48802,
    "c": 0.14933,
    "h": 140.9
  },
  "luminance": 0.12645
}

Semantic roles & 50–950 ramp

primary
#227312
secondary
#9737AA
accent
#38F0D1
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #227312

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

Preview Lab → · Contrast checker → · Palette generator →

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