#228645#228645

#228645 is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.8% C 0.134 H 150.5°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#228645
RGBrgb(34, 134, 69)
HSLhsl(141, 60%, 33%)
HSVhsv(141, 75%, 53%)
CMYKcmyk(74.6%, 0%, 48.5%, 47.5%)
CIE-LABlab(49.28, -43.30, 26.97)
CIE-LCHlch(49.28, 51.02, 148.08°)
OKLaboklab(54.81% -0.1165 0.066)
OKLCHoklch(54.81% 0.134 150.5)
XYZxyz(10.2581, 17.8188, 8.5278)
Luminance0.1782 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228645 #862263
analogous
#318622 #228645 #228677
triadic
#228645 #452286 #864522
tetradic
#228645 #223186 #862263 #867722
square
#228645 #223186 #862263 #867722
split-complementary
#228645 #772286 #862231
monochromatic
#092413 #16552C #228645 #2EB75E #50D37E

Accessibility & contrast

On white

4.60
#228645 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#228645 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #228645
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228645#FFFFFF#000000##FFFFFF
##2286451.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877A40
Deuteranopia (green-blind)
#7B724A
Tritanopia (blue-blind)
#008477
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #228645;
/* rgb */ color: rgb(34, 134, 69);
/* oklch */ color: oklch(54.8% 0.134 150.5);
Tailwind
colors: {
  custom: {
    50: '#6daa7a',
    500: '#228645',
    950: '#000000',
  },
}
SCSS
$custom: #228645;
$custom-light: #6daa7a;
$custom-dark: #000000;
JSON
{
  "hex": "#228645",
  "rgb": {
    "r": 34,
    "g": 134,
    "b": 69
  },
  "hsl": {
    "h": 141,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5481,
    "c": 0.13388,
    "h": 150.5
  },
  "luminance": 0.1782
}

Semantic roles & 50–950 ramp

primary
#228645
secondary
#B64E92
accent
#45ACE3
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #228645

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

Preview Lab → · Contrast checker → · Palette generator →

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