#228F46#228F46

#228F46 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.3% C 0.145 H 149.6°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#228F46
RGBrgb(34, 143, 70)
HSLhsl(140, 62%, 35%)
HSVhsv(140, 76%, 56%)
CMYKcmyk(76.2%, 0%, 51%, 43.9%)
CIE-LABlab(52.32, -46.54, 30.26)
CIE-LCHlch(52.32, 55.52, 146.97°)
OKLaboklab(57.33% -0.1251 0.0735)
OKLCHoklch(57.33% 0.145 149.6)
XYZxyz(11.5867, 20.4258, 9.1251)
Luminance0.2043 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228F46 #8F226B
analogous
#348F22 #228F46 #228F7D
triadic
#228F46 #46228F #8F4622
tetradic
#228F46 #22348F #8F226B #8F7D22
square
#228F46 #22348F #8F226B #8F7D22
split-complementary
#228F46 #7D228F #8F2234
monochromatic
#0A2C16 #165E2E #228F46 #2EC05E #55D780

Accessibility & contrast

On white

4.13
#228F46 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#228F46 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228F46
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228F46#FFFFFF#000000##000000
##228F461.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#908240
Deuteranopia (green-blind)
#83794B
Tritanopia (blue-blind)
#008C7E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #228f46;
/* rgb */ color: rgb(34, 143, 70);
/* oklch */ color: oklch(57.3% 0.145 149.6);
Tailwind
colors: {
  custom: {
    50: '#6fb17b',
    500: '#228f46',
    950: '#000000',
  },
}
SCSS
$custom: #228f46;
$custom-light: #6fb17b;
$custom-dark: #000000;
JSON
{
  "hex": "#228f46",
  "rgb": {
    "r": 34,
    "g": 143,
    "b": 70
  },
  "hsl": {
    "h": 139.817,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57329,
    "c": 0.1451,
    "h": 149.6
  },
  "luminance": 0.20427
}

Semantic roles & 50–950 ramp

primary
#228F46
secondary
#BA5298
accent
#43AFE5
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#081109
muted
#7B807B

Preview Lab

Preview with #228F46

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

Preview Lab → · Contrast checker → · Palette generator →

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