#226931#226931

#226931 is a mid, moderate green. Relative luminance 0.107; OKLCH L 46.2% C 0.113 H 147.5°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#226931
RGBrgb(34, 105, 49)
HSLhsl(133, 51%, 27%)
HSVhsv(133, 68%, 41%)
CMYKcmyk(67.6%, 0%, 53.3%, 58.8%)
CIE-LABlab(39.01, -35.13, 25.02)
CIE-LCHlch(39.01, 43.13, 144.54°)
OKLaboklab(46.24% -0.0948 0.0605)
OKLCHoklch(46.24% 0.113 147.5)
XYZxyz(6.2652, 10.6643, 4.6334)
Luminance0.1066 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226931 #69225A
analogous
#376922 #226931 #226955
triadic
#226931 #312269 #693122
tetradic
#226931 #223769 #69225A #695522
square
#226931 #223769 #69225A #695522
split-complementary
#226931 #552269 #692237
monochromatic
#07170B #133B1B #226931 #319747 #43C25E

Accessibility & contrast

On white

6.70
#226931 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#226931 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226931
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226931#FFFFFF#000000##FFFFFF
##2269311.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A602C
Deuteranopia (green-blind)
#615935
Tritanopia (blue-blind)
#0C675C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #226931;
/* rgb */ color: rgb(34, 105, 49);
/* oklch */ color: oklch(46.2% 0.113 147.5);
Tailwind
colors: {
  custom: {
    50: '#66956a',
    500: '#226931',
    950: '#000000',
  },
}
SCSS
$custom: #226931;
$custom-light: #66956a;
$custom-dark: #000000;
JSON
{
  "hex": "#226931",
  "rgb": {
    "r": 34,
    "g": 105,
    "b": 49
  },
  "hsl": {
    "h": 132.676,
    "s": 51.079,
    "l": 27.255
  },
  "oklch": {
    "l": 0.46237,
    "c": 0.1125,
    "h": 147.5
  },
  "luminance": 0.10665
}

Semantic roles & 50–950 ramp

primary
#226931
secondary
#9D4A8B
accent
#4DBDDB
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #226931

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

Preview Lab → · Contrast checker → · Palette generator →

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