#228945#228945

#228945 is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.6% C 0.138 H 150.1°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#228945
RGBrgb(34, 137, 69)
HSLhsl(140, 60%, 34%)
HSVhsv(140, 75%, 54%)
CMYKcmyk(75.2%, 0%, 49.6%, 46.3%)
CIE-LABlab(50.29, -44.45, 28.25)
CIE-LCHlch(50.29, 52.67, 147.56°)
OKLaboklab(55.65% -0.1196 0.0689)
OKLCHoklch(55.65% 0.138 150.1)
XYZxyz(10.6786, 18.6598, 8.6680)
Luminance0.1866 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228945 #892266
analogous
#328922 #228945 #228978
triadic
#228945 #452289 #894522
tetradic
#228945 #223289 #892266 #897822
square
#228945 #223289 #892266 #897822
split-complementary
#228945 #782289 #892232
monochromatic
#0A2714 #16582C #228945 #2EBA5E #51D47E

Accessibility & contrast

On white

4.44
#228945 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#228945 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228945
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228945#FFFFFF#000000##000000
##2289451.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7D40
Deuteranopia (green-blind)
#7E744A
Tritanopia (blue-blind)
#008779
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #228945;
/* rgb */ color: rgb(34, 137, 69);
/* oklch */ color: oklch(55.6% 0.138 150.1);
Tailwind
colors: {
  custom: {
    50: '#6dac7a',
    500: '#228945',
    950: '#000000',
  },
}
SCSS
$custom: #228945;
$custom-light: #6dac7a;
$custom-dark: #000000;
JSON
{
  "hex": "#228945",
  "rgb": {
    "r": 34,
    "g": 137,
    "b": 69
  },
  "hsl": {
    "h": 140.388,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55646,
    "c": 0.13798,
    "h": 150.1
  },
  "luminance": 0.18661
}

Semantic roles & 50–950 ramp

primary
#228945
secondary
#B84F94
accent
#44ADE3
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #228945

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

Preview Lab → · Contrast checker → · Palette generator →

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