#226012#226012

#226012 is a dark, vivid green. Relative luminance 0.087; OKLCH L 43.2% C 0.126 H 140.1°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#226012
RGBrgb(34, 96, 18)
HSLhsl(108, 68%, 22%)
HSVhsv(108, 81%, 38%)
CMYKcmyk(64.6%, 0%, 81.3%, 62.4%)
CIE-LABlab(35.50, -35.23, 36.02)
CIE-LCHlch(35.50, 50.38, 134.36°)
OKLaboklab(43.23% -0.0967 0.0807)
OKLCHoklch(43.23% 0.126 140.1)
XYZxyz(4.9515, 8.7490, 1.9999)
Luminance0.0875 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226012 #501260
analogous
#496012 #226012 #126029
triadic
#226012 #122260 #601222
tetradic
#226012 #124960 #501260 #602912
square
#226012 #124960 #501260 #602912
split-complementary
#226012 #291260 #601249
monochromatic
#091A05 #102C08 #226012 #34941C #47C725

Accessibility & contrast

On white

7.64
#226012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#226012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #226012
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226012#FFFFFF#000000##FFFFFF
##2260121.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635702
Deuteranopia (green-blind)
#5B521B
Tritanopia (blue-blind)
#1A5D51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #226012;
/* rgb */ color: rgb(34, 96, 18);
/* oklch */ color: oklch(43.2% 0.126 140.1);
Tailwind
colors: {
  custom: {
    50: '#668e56',
    500: '#226012',
    950: '#000000',
  },
}
SCSS
$custom: #226012;
$custom-light: #668e56;
$custom-dark: #000000;
JSON
{
  "hex": "#226012",
  "rgb": {
    "r": 34,
    "g": 96,
    "b": 18
  },
  "hsl": {
    "h": 107.692,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.43231,
    "c": 0.12593,
    "h": 140.1
  },
  "luminance": 0.08749
}

Semantic roles & 50–950 ramp

primary
#226012
secondary
#843698
accent
#3DEBC7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #226012

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

Preview Lab → · Contrast checker → · Palette generator →

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