#228545#228545

#228545 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.5% C 0.133 H 150.6°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#228545
RGBrgb(34, 133, 69)
HSLhsl(141, 59%, 33%)
HSVhsv(141, 74%, 52%)
CMYKcmyk(74.4%, 0%, 48.1%, 47.8%)
CIE-LABlab(48.94, -42.92, 26.55)
CIE-LCHlch(48.94, 50.46, 148.26°)
OKLaboklab(54.53% -0.1155 0.065)
OKLCHoklch(54.53% 0.133 150.6)
XYZxyz(10.1206, 17.5437, 8.4820)
Luminance0.1754 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228545 #852262
analogous
#318522 #228545 #228576
triadic
#228545 #452285 #854522
tetradic
#228545 #223185 #852262 #857622
square
#228545 #223185 #852262 #857622
split-complementary
#228545 #762285 #852231
monochromatic
#092412 #16542C #228545 #2EB65E #4FD27E

Accessibility & contrast

On white

4.66
#228545 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#228545 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #228545
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228545#FFFFFF#000000##FFFFFF
##2285451.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867940
Deuteranopia (green-blind)
#7A7149
Tritanopia (blue-blind)
#008376
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #228545;
/* rgb */ color: rgb(34, 133, 69);
/* oklch */ color: oklch(54.5% 0.133 150.6);
Tailwind
colors: {
  custom: {
    50: '#6ca97a',
    500: '#228545',
    950: '#000000',
  },
}
SCSS
$custom: #228545;
$custom-light: #6ca97a;
$custom-dark: #000000;
JSON
{
  "hex": "#228545",
  "rgb": {
    "r": 34,
    "g": 133,
    "b": 69
  },
  "hsl": {
    "h": 141.212,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54531,
    "c": 0.1325,
    "h": 150.6
  },
  "luminance": 0.17545
}

Semantic roles & 50–950 ramp

primary
#228545
secondary
#B64D91
accent
#45ABE2
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #228545

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

Preview Lab → · Contrast checker → · Palette generator →

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