#226E45#226E45

#226E45 is a mid, moderate green. Relative luminance 0.119; OKLCH L 48.1% C 0.099 H 155.7°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#226E45
RGBrgb(34, 110, 69)
HSLhsl(148, 53%, 28%)
HSVhsv(148, 69%, 43%)
CMYKcmyk(69.1%, 0%, 37.3%, 56.9%)
CIE-LABlab(41.09, -33.45, 16.28)
CIE-LCHlch(41.09, 37.21, 154.05°)
OKLaboklab(48.06% -0.0907 0.0409)
OKLCHoklch(48.06% 0.099 155.7)
XYZxyz(7.3091, 11.9208, 7.5448)
Luminance0.1192 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226E45 #6E224B
analogous
#256E22 #226E45 #226E6B
triadic
#226E45 #45226E #6E4522
tetradic
#226E45 #22256E #6E224B #6E6B22
square
#226E45 #22256E #6E224B #6E6B22
split-complementary
#226E45 #6B226E #6E2225
monochromatic
#07170F #143F28 #226E45 #309D62 #45C580

Accessibility & contrast

On white

6.20
#226E45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#226E45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226E45
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226E45#FFFFFF#000000##FFFFFF
##226E451.006.203.386.20
#FFFFFF6.201.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6542
Deuteranopia (green-blind)
#645E48
Tritanopia (blue-blind)
#006D63
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #226e45;
/* rgb */ color: rgb(34, 110, 69);
/* oklch */ color: oklch(48.1% 0.099 155.7);
Tailwind
colors: {
  custom: {
    50: '#679879',
    500: '#226e45',
    950: '#000000',
  },
}
SCSS
$custom: #226e45;
$custom-light: #679879;
$custom-dark: #000000;
JSON
{
  "hex": "#226e45",
  "rgb": {
    "r": 34,
    "g": 110,
    "b": 69
  },
  "hsl": {
    "h": 147.632,
    "s": 52.778,
    "l": 28.235
  },
  "oklch": {
    "l": 0.48063,
    "c": 0.09946,
    "h": 155.7
  },
  "luminance": 0.11922
}

Semantic roles & 50–950 ramp

primary
#226E45
secondary
#A14A79
accent
#4C9ADC
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #226E45

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

Preview Lab → · Contrast checker → · Palette generator →

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