#228F3E#228F3E

#228F3E is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.152 H 147.5°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#228F3E
RGBrgb(34, 143, 62)
HSLhsl(135, 62%, 35%)
HSVhsv(135, 76%, 56%)
CMYKcmyk(76.2%, 0%, 56.6%, 43.9%)
CIE-LABlab(52.21, -47.78, 34.25)
CIE-LCHlch(52.21, 58.79, 144.37°)
OKLaboklab(57.21% -0.1286 0.0818)
OKLCHoklch(57.21% 0.152 147.5)
XYZxyz(11.3508, 20.3315, 7.8826)
Luminance0.2033 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228F3E #8F2273
analogous
#3C8F22 #228F3E #228F75
triadic
#228F3E #3E228F #8F3E22
tetradic
#228F3E #223C8F #8F2273 #8F7522
square
#228F3E #223C8F #8F2273 #8F7522
split-complementary
#228F3E #75228F #8F223C
monochromatic
#0A2C13 #165E29 #228F3E #2EC053 #55D776

Accessibility & contrast

On white

4.14
#228F3E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#228F3E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228F3E
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228F3E#FFFFFF#000000##000000
##228F3E1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#918236
Deuteranopia (green-blind)
#847944
Tritanopia (blue-blind)
#008C7D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #228f3e;
/* rgb */ color: rgb(34, 143, 62);
/* oklch */ color: oklch(57.2% 0.152 147.5);
Tailwind
colors: {
  custom: {
    50: '#6fb175',
    500: '#228f3e',
    950: '#000000',
  },
}
SCSS
$custom: #228f3e;
$custom-light: #6fb175;
$custom-dark: #000000;
JSON
{
  "hex": "#228f3e",
  "rgb": {
    "r": 34,
    "g": 143,
    "b": 62
  },
  "hsl": {
    "h": 135.413,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57207,
    "c": 0.15241,
    "h": 147.5
  },
  "luminance": 0.20333
}

Semantic roles & 50–950 ramp

primary
#228F3E
secondary
#BA52A0
accent
#43BBE5
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#081108
muted
#7B807B

Preview Lab

Preview with #228F3E

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

Preview Lab → · Contrast checker → · Palette generator →

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