#226917#226917

#226917 is a mid, vivid green. Relative luminance 0.105; OKLCH L 45.9% C 0.134 H 141.2°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#226917
RGBrgb(34, 105, 23)
HSLhsl(112, 64%, 25%)
HSVhsv(112, 78%, 41%)
CMYKcmyk(67.6%, 0%, 78.1%, 58.8%)
CIE-LABlab(38.73, -38.33, 37.30)
CIE-LCHlch(38.73, 53.49, 135.78°)
OKLaboklab(45.92% -0.1047 0.0842)
OKLCHoklch(45.92% 0.134 141.2)
XYZxyz(5.8656, 10.5045, 2.5289)
Luminance0.1051 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226917 #5E1769
analogous
#4B6917 #226917 #176935
triadic
#226917 #172269 #691722
tetradic
#226917 #174B69 #5E1769 #693517
square
#226917 #174B69 #5E1769 #693517
split-complementary
#226917 #351769 #69174B
monochromatic
#081905 #12370C #226917 #329B22 #43CD2D

Accessibility & contrast

On white

6.77
#226917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#226917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226917
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226917#FFFFFF#000000##FFFFFF
##2269171.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F07
Deuteranopia (green-blind)
#635920
Tritanopia (blue-blind)
#156659
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #226917;
/* rgb */ color: rgb(34, 105, 23);
/* oklch */ color: oklch(45.9% 0.134 141.2);
Tailwind
colors: {
  custom: {
    50: '#68955a',
    500: '#226917',
    950: '#000000',
  },
}
SCSS
$custom: #226917;
$custom-light: #68955a;
$custom-dark: #000000;
JSON
{
  "hex": "#226917",
  "rgb": {
    "r": 34,
    "g": 105,
    "b": 23
  },
  "hsl": {
    "h": 111.951,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.4592,
    "c": 0.13436,
    "h": 141.2
  },
  "luminance": 0.10505
}

Semantic roles & 50–950 ramp

primary
#226917
secondary
#923D9F
accent
#41E7D1
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #226917

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

Preview Lab → · Contrast checker → · Palette generator →

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