#228C46#228C46

#228C46 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.5% C 0.141 H 150.0°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#228C46
RGBrgb(34, 140, 70)
HSLhsl(140, 61%, 34%)
HSVhsv(140, 76%, 55%)
CMYKcmyk(75.7%, 0%, 50%, 45.1%)
CIE-LABlab(51.31, -45.42, 29.00)
CIE-LCHlch(51.31, 53.89, 147.44°)
OKLaboklab(56.5% -0.1221 0.0706)
OKLCHoklch(56.5% 0.141 150)
XYZxyz(11.1423, 19.5372, 8.9770)
Luminance0.1954 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228C46 #8C2268
analogous
#338C22 #228C46 #228C7B
triadic
#228C46 #46228C #8C4622
tetradic
#228C46 #22338C #8C2268 #8C7B22
square
#228C46 #22338C #8C2268 #8C7B22
split-complementary
#228C46 #7B228C #8C2233
monochromatic
#0A2A15 #165B2D #228C46 #2EBD5F #53D57F

Accessibility & contrast

On white

4.28
#228C46 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#228C46 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228C46
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228C46#FFFFFF#000000##000000
##228C461.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D8040
Deuteranopia (green-blind)
#80774B
Tritanopia (blue-blind)
#00897C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #228c46;
/* rgb */ color: rgb(34, 140, 70);
/* oklch */ color: oklch(56.5% 0.141 150.0);
Tailwind
colors: {
  custom: {
    50: '#6eaf7b',
    500: '#228c46',
    950: '#000000',
  },
}
SCSS
$custom: #228c46;
$custom-light: #6eaf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#228c46",
  "rgb": {
    "r": 34,
    "g": 140,
    "b": 70
  },
  "hsl": {
    "h": 140.377,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56497,
    "c": 0.14108,
    "h": 150
  },
  "luminance": 0.19538
}

Semantic roles & 50–950 ramp

primary
#228C46
secondary
#B95196
accent
#44AEE4
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #228C46

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

Preview Lab → · Contrast checker → · Palette generator →

#228C46 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva