#226512#226512

#226512 is a dark, vivid green. Relative luminance 0.097; OKLCH L 44.7% C 0.132 H 140.4°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#226512
RGBrgb(34, 101, 18)
HSLhsl(108, 70%, 23%)
HSVhsv(108, 82%, 40%)
CMYKcmyk(66.3%, 0%, 82.2%, 60.4%)
CIE-LABlab(37.28, -37.18, 37.75)
CIE-LCHlch(37.28, 52.99, 134.57°)
OKLaboklab(44.71% -0.1019 0.0843)
OKLCHoklch(44.71% 0.132 140.4)
XYZxyz(5.4223, 9.6906, 2.1569)
Luminance0.0969 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226512 #551265
analogous
#4B6512 #226512 #12652B
triadic
#226512 #122265 #651222
tetradic
#226512 #124B65 #551265 #652B12
square
#226512 #124B65 #551265 #652B12
split-complementary
#226512 #2B1265 #65124B
monochromatic
#091A05 #113109 #226512 #33991B #45CD25

Accessibility & contrast

On white

7.15
#226512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#226512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #226512
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226512#FFFFFF#000000##FFFFFF
##2265121.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B00
Deuteranopia (green-blind)
#60561B
Tritanopia (blue-blind)
#186155
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #226512;
/* rgb */ color: rgb(34, 101, 18);
/* oklch */ color: oklch(44.7% 0.132 140.4);
Tailwind
colors: {
  custom: {
    50: '#679257',
    500: '#226512',
    950: '#000000',
  },
}
SCSS
$custom: #226512;
$custom-light: #679257;
$custom-dark: #000000;
JSON
{
  "hex": "#226512",
  "rgb": {
    "r": 34,
    "g": 101,
    "b": 18
  },
  "hsl": {
    "h": 108.434,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44708,
    "c": 0.13228,
    "h": 140.4
  },
  "luminance": 0.09691
}

Semantic roles & 50–950 ramp

primary
#226512
secondary
#89369D
accent
#3BEDCA
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D03
muted
#7A7E78

Preview Lab

Preview with #226512

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

Preview Lab → · Contrast checker → · Palette generator →

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