#226412#226412

#226412 is a dark, vivid green. Relative luminance 0.095; OKLCH L 44.4% C 0.131 H 140.3°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#226412
RGBrgb(34, 100, 18)
HSLhsl(108, 69%, 23%)
HSVhsv(108, 82%, 39%)
CMYKcmyk(66%, 0%, 82%, 60.8%)
CIE-LABlab(36.93, -36.79, 37.41)
CIE-LCHlch(36.93, 52.47, 134.53°)
OKLaboklab(44.41% -0.1009 0.0836)
OKLCHoklch(44.41% 0.131 140.3)
XYZxyz(5.3258, 9.4976, 2.1247)
Luminance0.0950 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226412 #541264
analogous
#4B6412 #226412 #12642B
triadic
#226412 #122264 #641222
tetradic
#226412 #124B64 #541264 #642B12
square
#226412 #124B64 #541264 #642B12
split-complementary
#226412 #2B1264 #64124B
monochromatic
#091A05 #103009 #226412 #34981B #45CC25

Accessibility & contrast

On white

7.24
#226412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#226412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #226412
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226412#FFFFFF#000000##FFFFFF
##2264121.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A01
Deuteranopia (green-blind)
#5F551B
Tritanopia (blue-blind)
#186155
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #226412;
/* rgb */ color: rgb(34, 100, 18);
/* oklch */ color: oklch(44.4% 0.131 140.3);
Tailwind
colors: {
  custom: {
    50: '#679157',
    500: '#226412',
    950: '#000000',
  },
}
SCSS
$custom: #226412;
$custom-light: #679157;
$custom-dark: #000000;
JSON
{
  "hex": "#226412",
  "rgb": {
    "r": 34,
    "g": 100,
    "b": 18
  },
  "hsl": {
    "h": 108.293,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.44413,
    "c": 0.13103,
    "h": 140.3
  },
  "luminance": 0.09498
}

Semantic roles & 50–950 ramp

primary
#226412
secondary
#88369C
accent
#3BECCA
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070D03
muted
#7A7D78

Preview Lab

Preview with #226412

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

Preview Lab → · Contrast checker → · Palette generator →

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