#226612#226612

#226612 is a mid, vivid green. Relative luminance 0.099; OKLCH L 45.0% C 0.134 H 140.4°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#226612
RGBrgb(34, 102, 18)
HSLhsl(109, 70%, 24%)
HSVhsv(109, 82%, 40%)
CMYKcmyk(66.7%, 0%, 82.4%, 60%)
CIE-LABlab(37.64, -37.57, 38.09)
CIE-LCHlch(37.64, 53.50, 134.60°)
OKLaboklab(45% -0.103 0.0851)
OKLCHoklch(45% 0.134 140.4)
XYZxyz(5.5200, 9.8860, 2.1894)
Luminance0.0989 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226612 #561266
analogous
#4C6612 #226612 #12662C
triadic
#226612 #122266 #661222
tetradic
#226612 #124C66 #561266 #662C12
square
#226612 #124C66 #561266 #662C12
split-complementary
#226612 #2C1266 #66124C
monochromatic
#091A05 #113209 #226612 #339A1B #45CE24

Accessibility & contrast

On white

7.05
#226612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#226612 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #226612
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226612#FFFFFF#000000##FFFFFF
##2266121.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C00
Deuteranopia (green-blind)
#61561C
Tritanopia (blue-blind)
#176256
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #226612;
/* rgb */ color: rgb(34, 102, 18);
/* oklch */ color: oklch(45.0% 0.134 140.4);
Tailwind
colors: {
  custom: {
    50: '#679257',
    500: '#226612',
    950: '#000000',
  },
}
SCSS
$custom: #226612;
$custom-light: #679257;
$custom-dark: #000000;
JSON
{
  "hex": "#226612",
  "rgb": {
    "r": 34,
    "g": 102,
    "b": 18
  },
  "hsl": {
    "h": 108.571,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.45002,
    "c": 0.13354,
    "h": 140.4
  },
  "luminance": 0.09886
}

Semantic roles & 50–950 ramp

primary
#226612
secondary
#8A369E
accent
#3BEDCB
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D03
muted
#7A7E78

Preview Lab

Preview with #226612

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

Preview Lab → · Contrast checker → · Palette generator →

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