#228F3F#228F3F

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

Color values

HEX#228F3F
RGBrgb(34, 143, 63)
HSLhsl(136, 62%, 35%)
HSVhsv(136, 76%, 56%)
CMYKcmyk(76.2%, 0%, 55.9%, 43.9%)
CIE-LABlab(52.22, -47.64, 33.76)
CIE-LCHlch(52.22, 58.39, 144.68°)
OKLaboklab(57.22% -0.1282 0.0808)
OKLCHoklch(57.22% 0.152 147.8)
XYZxyz(11.3785, 20.3426, 8.0285)
Luminance0.2034 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228F3F #8F2272
analogous
#3C8F22 #228F3F #228F75
triadic
#228F3F #3F228F #8F3F22
tetradic
#228F3F #223C8F #8F2272 #8F7522
square
#228F3F #223C8F #8F2272 #8F7522
split-complementary
#228F3F #75228F #8F223C
monochromatic
#0A2C13 #165E29 #228F3F #2EC055 #55D777

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##228F3F#FFFFFF#000000##000000
##228F3F1.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)
#918238
Deuteranopia (green-blind)
#847945
Tritanopia (blue-blind)
#008C7D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #228f3f;
/* rgb */ color: rgb(34, 143, 63);
/* oklch */ color: oklch(57.2% 0.152 147.8);
Tailwind
colors: {
  custom: {
    50: '#6fb176',
    500: '#228f3f',
    950: '#000000',
  },
}
SCSS
$custom: #228f3f;
$custom-light: #6fb176;
$custom-dark: #000000;
JSON
{
  "hex": "#228f3f",
  "rgb": {
    "r": 34,
    "g": 143,
    "b": 63
  },
  "hsl": {
    "h": 135.963,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57221,
    "c": 0.15152,
    "h": 147.8
  },
  "luminance": 0.20344
}

Semantic roles & 50–950 ramp

primary
#228F3F
secondary
#BA529F
accent
#43BAE5
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#081108
muted
#7B807B

Preview Lab

Preview with #228F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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