#226712#226712

#226712 is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.3% C 0.135 H 140.5°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#226712
RGBrgb(34, 103, 18)
HSLhsl(109, 70%, 24%)
HSVhsv(109, 83%, 40%)
CMYKcmyk(67%, 0%, 82.5%, 59.6%)
CIE-LABlab(37.99, -37.95, 38.43)
CIE-LCHlch(37.99, 54.01, 134.64°)
OKLaboklab(45.3% -0.104 0.0858)
OKLCHoklch(45.3% 0.135 140.5)
XYZxyz(5.6188, 10.0837, 2.2224)
Luminance0.1008 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226712 #571267
analogous
#4C6712 #226712 #12672C
triadic
#226712 #122267 #671222
tetradic
#226712 #124C67 #571267 #672C12
square
#226712 #124C67 #571267 #672C12
split-complementary
#226712 #2C1267 #67124C
monochromatic
#091A05 #113309 #226712 #339B1B #44CF24

Accessibility & contrast

On white

6.96
#226712 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#226712 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226712
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226712#FFFFFF#000000##FFFFFF
##2267121.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#62571C
Tritanopia (blue-blind)
#176357
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #226712;
/* rgb */ color: rgb(34, 103, 18);
/* oklch */ color: oklch(45.3% 0.135 140.5);
Tailwind
colors: {
  custom: {
    50: '#689357',
    500: '#226712',
    950: '#000000',
  },
}
SCSS
$custom: #226712;
$custom-light: #689357;
$custom-dark: #000000;
JSON
{
  "hex": "#226712",
  "rgb": {
    "r": 34,
    "g": 103,
    "b": 18
  },
  "hsl": {
    "h": 108.706,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45296,
    "c": 0.13479,
    "h": 140.5
  },
  "luminance": 0.10084
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #226712

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

Preview Lab → · Contrast checker → · Palette generator →

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