#227612#227612

#227612 is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.7% C 0.153 H 141.0°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#227612
RGBrgb(34, 118, 18)
HSLhsl(110, 74%, 27%)
HSVhsv(110, 85%, 46%)
CMYKcmyk(71.2%, 0%, 84.7%, 53.7%)
CIE-LABlab(43.27, -43.46, 43.40)
CIE-LCHlch(43.27, 61.42, 135.04°)
OKLaboklab(49.67% -0.1188 0.0962)
OKLCHoklch(49.67% 0.153 141)
XYZxyz(7.2469, 13.3399, 2.7651)
Luminance0.1334 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227612 #661276
analogous
#547612 #227612 #127634
triadic
#227612 #122276 #761222
tetradic
#227612 #125476 #661276 #763412
square
#227612 #125476 #661276 #763412
split-complementary
#227612 #341276 #761254
monochromatic
#081B04 #13410A #227612 #31AB1A #42DE25

Accessibility & contrast

On white

5.72
#227612 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#227612 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227612
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227612#FFFFFF#000000##FFFFFF
##2276121.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#6F641F
Tritanopia (blue-blind)
#107264
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #227612;
/* rgb */ color: rgb(34, 118, 18);
/* oklch */ color: oklch(49.7% 0.153 141.0);
Tailwind
colors: {
  custom: {
    50: '#6b9e5a',
    500: '#227612',
    950: '#000000',
  },
}
SCSS
$custom: #227612;
$custom-light: #6b9e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#227612",
  "rgb": {
    "r": 34,
    "g": 118,
    "b": 18
  },
  "hsl": {
    "h": 110.4,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49672,
    "c": 0.15286,
    "h": 141
  },
  "luminance": 0.13341
}

Semantic roles & 50–950 ramp

primary
#227612
secondary
#9A37AD
accent
#38F0D3
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #227612

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

Preview Lab → · Contrast checker → · Palette generator →

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