#226733#226733

#226733 is a mid, moderate green. Relative luminance 0.103; OKLCH L 45.7% C 0.108 H 148.5°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#226733
RGBrgb(34, 103, 51)
HSLhsl(135, 50%, 27%)
HSVhsv(135, 67%, 40%)
CMYKcmyk(67%, 0%, 50.5%, 59.6%)
CIE-LABlab(38.34, -33.96, 23.07)
CIE-LCHlch(38.34, 41.05, 145.81°)
OKLaboklab(45.69% -0.0917 0.0562)
OKLCHoklch(45.69% 0.108 148.5)
XYZxyz(6.1070, 10.2790, 4.7935)
Luminance0.1028 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226733 #672256
analogous
#346722 #226733 #226756
triadic
#226733 #332267 #673322
tetradic
#226733 #223467 #672256 #675622
square
#226733 #223467 #672256 #675622
split-complementary
#226733 #562267 #672234
monochromatic
#08170B #13391C #226733 #31954A #43C162

Accessibility & contrast

On white

6.87
#226733 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#226733 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226733
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226733#FFFFFF#000000##FFFFFF
##2267331.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685E2F
Deuteranopia (green-blind)
#5F5837
Tritanopia (blue-blind)
#0C655B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #226733;
/* rgb */ color: rgb(34, 103, 51);
/* oklch */ color: oklch(45.7% 0.108 148.5);
Tailwind
colors: {
  custom: {
    50: '#66936b',
    500: '#226733',
    950: '#000000',
  },
}
SCSS
$custom: #226733;
$custom-light: #66936b;
$custom-dark: #000000;
JSON
{
  "hex": "#226733",
  "rgb": {
    "r": 34,
    "g": 103,
    "b": 51
  },
  "hsl": {
    "h": 134.783,
    "s": 50.365,
    "l": 26.863
  },
  "oklch": {
    "l": 0.45694,
    "c": 0.10753,
    "h": 148.5
  },
  "luminance": 0.1028
}

Semantic roles & 50–950 ramp

primary
#226733
secondary
#9B4A87
accent
#4EB7DA
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D07
muted
#7A7E7A

Preview Lab

Preview with #226733

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

Preview Lab → · Contrast checker → · Palette generator →

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