#228345#228345

#228345 is a mid, vivid green. Relative luminance 0.170; OKLCH L 54.0% C 0.130 H 150.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#228345
RGBrgb(34, 131, 69)
HSLhsl(142, 59%, 32%)
HSVhsv(142, 74%, 51%)
CMYKcmyk(74%, 0%, 47.3%, 48.6%)
CIE-LABlab(48.26, -42.14, 25.68)
CIE-LCHlch(48.26, 49.35, 148.64°)
OKLaboklab(53.97% -0.1134 0.063)
OKLCHoklch(53.97% 0.13 150.9)
XYZxyz(9.8493, 17.0012, 8.3916)
Luminance0.1700 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228345 #832260
analogous
#308322 #228345 #228375
triadic
#228345 #452283 #834522
tetradic
#228345 #223083 #832260 #837522
square
#228345 #223083 #832260 #837522
split-complementary
#228345 #752283 #832230
monochromatic
#092212 #15522B #228345 #2FB45F #4ED17D

Accessibility & contrast

On white

4.77
#228345 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#228345 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228345
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228345#FFFFFF#000000##FFFFFF
##2283451.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847840
Deuteranopia (green-blind)
#786F49
Tritanopia (blue-blind)
#008174
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #228345;
/* rgb */ color: rgb(34, 131, 69);
/* oklch */ color: oklch(54.0% 0.130 150.9);
Tailwind
colors: {
  custom: {
    50: '#6ca879',
    500: '#228345',
    950: '#000000',
  },
}
SCSS
$custom: #228345;
$custom-light: #6ca879;
$custom-dark: #000000;
JSON
{
  "hex": "#228345",
  "rgb": {
    "r": 34,
    "g": 131,
    "b": 69
  },
  "hsl": {
    "h": 141.649,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53973,
    "c": 0.12974,
    "h": 150.9
  },
  "luminance": 0.17002
}

Semantic roles & 50–950 ramp

primary
#228345
secondary
#B44C8F
accent
#46AAE2
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081009
muted
#7A7F7B

Preview Lab

Preview with #228345

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

Preview Lab → · Contrast checker → · Palette generator →

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