#226F12#226F12

#226F12 is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.6% C 0.145 H 140.8°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#226F12
RGBrgb(34, 111, 18)
HSLhsl(110, 72%, 25%)
HSVhsv(110, 84%, 44%)
CMYKcmyk(69.4%, 0%, 83.8%, 56.5%)
CIE-LABlab(40.82, -40.94, 41.12)
CIE-LCHlch(40.82, 58.02, 134.87°)
OKLaboklab(47.64% -0.112 0.0914)
OKLCHoklch(47.64% 0.145 140.8)
XYZxyz(6.4530, 11.7520, 2.5004)
Luminance0.1175 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226F12 #5F126F
analogous
#516F12 #226F12 #126F30
triadic
#226F12 #12226F #6F1222
tetradic
#226F12 #12516F #5F126F #6F3012
square
#226F12 #12516F #5F126F #6F3012
split-complementary
#226F12 #30126F #6F1251
monochromatic
#081A04 #123A09 #226F12 #32A41B #42D823

Accessibility & contrast

On white

6.27
#226F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#226F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226F12
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226F12#FFFFFF#000000##FFFFFF
##226F121.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#695E1D
Tritanopia (blue-blind)
#146B5E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #226f12;
/* rgb */ color: rgb(34, 111, 18);
/* oklch */ color: oklch(47.6% 0.145 140.8);
Tailwind
colors: {
  custom: {
    50: '#699959',
    500: '#226f12',
    950: '#000000',
  },
}
SCSS
$custom: #226f12;
$custom-light: #699959;
$custom-dark: #000000;
JSON
{
  "hex": "#226f12",
  "rgb": {
    "r": 34,
    "g": 111,
    "b": 18
  },
  "hsl": {
    "h": 109.677,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47639,
    "c": 0.14456,
    "h": 140.8
  },
  "luminance": 0.11753
}

Semantic roles & 50–950 ramp

primary
#226F12
secondary
#9337A6
accent
#39EFD0
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #226F12

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

Preview Lab → · Contrast checker → · Palette generator →

#226F12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva