#226728#226728

#226728 is a mid, moderate green. Relative luminance 0.102; OKLCH L 45.5% C 0.118 H 144.7°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#226728
RGBrgb(34, 103, 40)
HSLhsl(125, 50%, 27%)
HSVhsv(125, 67%, 40%)
CMYKcmyk(67%, 0%, 61.2%, 59.6%)
CIE-LABlab(38.19, -35.67, 28.86)
CIE-LCHlch(38.19, 45.88, 141.03°)
OKLaboklab(45.52% -0.0966 0.0683)
OKLCHoklch(45.52% 0.118 144.7)
XYZxyz(5.8926, 10.1932, 3.6640)
Luminance0.1019 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226728 #672261
analogous
#3F6722 #226728 #22674B
triadic
#226728 #282267 #672822
tetradic
#226728 #223F67 #672261 #674B22
square
#226728 #223F67 #672261 #674B22
split-complementary
#226728 #4B2267 #67223F
monochromatic
#081709 #133916 #226728 #31953A #43C14E

Accessibility & contrast

On white

6.91
#226728 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#226728 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226728
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226728#FFFFFF#000000##FFFFFF
##2267281.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D22
Deuteranopia (green-blind)
#60582D
Tritanopia (blue-blind)
#126459
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #226728;
/* rgb */ color: rgb(34, 103, 40);
/* oklch */ color: oklch(45.5% 0.118 144.7);
Tailwind
colors: {
  custom: {
    50: '#669364',
    500: '#226728',
    950: '#000000',
  },
}
SCSS
$custom: #226728;
$custom-light: #669364;
$custom-dark: #000000;
JSON
{
  "hex": "#226728",
  "rgb": {
    "r": 34,
    "g": 103,
    "b": 40
  },
  "hsl": {
    "h": 125.217,
    "s": 50.365,
    "l": 26.863
  },
  "oklch": {
    "l": 0.4552,
    "c": 0.11832,
    "h": 144.7
  },
  "luminance": 0.10194
}

Semantic roles & 50–950 ramp

primary
#226728
secondary
#9B4A94
accent
#4ECEDA
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D05
muted
#7A7E7A

Preview Lab

Preview with #226728

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

Preview Lab → · Contrast checker → · Palette generator →

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