#226D45#226D45

#226D45 is a mid, moderate green. Relative luminance 0.117; OKLCH L 47.8% C 0.098 H 156.0°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#226D45
RGBrgb(34, 109, 69)
HSLhsl(148, 52%, 28%)
HSVhsv(148, 69%, 43%)
CMYKcmyk(68.8%, 0%, 36.7%, 57.3%)
CIE-LABlab(40.75, -33.01, 15.82)
CIE-LCHlch(40.75, 36.61, 154.40°)
OKLaboklab(47.78% -0.0895 0.0398)
OKLCHoklch(47.78% 0.098 156)
XYZxyz(7.2019, 11.7063, 7.5091)
Luminance0.1171 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226D45 #6D224A
analogous
#246D22 #226D45 #226D6A
triadic
#226D45 #45226D #6D4522
tetradic
#226D45 #22246D #6D224A #6D6A22
square
#226D45 #22246D #6D224A #6D6A22
split-complementary
#226D45 #6A226D #6D2224
monochromatic
#07170F #133E27 #226D45 #319C63 #45C580

Accessibility & contrast

On white

6.28
#226D45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#226D45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226D45
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226D45#FFFFFF#000000##FFFFFF
##226D451.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6442
Deuteranopia (green-blind)
#635D48
Tritanopia (blue-blind)
#006C63
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #226d45;
/* rgb */ color: rgb(34, 109, 69);
/* oklch */ color: oklch(47.8% 0.098 156.0);
Tailwind
colors: {
  custom: {
    50: '#679779',
    500: '#226d45',
    950: '#000000',
  },
}
SCSS
$custom: #226d45;
$custom-light: #679779;
$custom-dark: #000000;
JSON
{
  "hex": "#226d45",
  "rgb": {
    "r": 34,
    "g": 109,
    "b": 69
  },
  "hsl": {
    "h": 148,
    "s": 52.448,
    "l": 28.039
  },
  "oklch": {
    "l": 0.4778,
    "c": 0.09796,
    "h": 156
  },
  "luminance": 0.11707
}

Semantic roles & 50–950 ramp

primary
#226D45
secondary
#A14A78
accent
#4C99DC
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060D09
muted
#7A7E7B

Preview Lab

Preview with #226D45

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

Preview Lab → · Contrast checker → · Palette generator →

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