#228D3F#228D3F

#228D3F is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.7% C 0.149 H 147.9°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#228D3F
RGBrgb(34, 141, 63)
HSLhsl(136, 61%, 34%)
HSVhsv(136, 76%, 55%)
CMYKcmyk(75.9%, 0%, 55.3%, 44.7%)
CIE-LABlab(51.55, -46.91, 32.95)
CIE-LCHlch(51.55, 57.32, 144.92°)
OKLaboklab(56.67% -0.1262 0.079)
OKLCHoklch(56.67% 0.149 147.9)
XYZxyz(11.0809, 19.7474, 7.9293)
Luminance0.1975 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228D3F #8D2270
analogous
#3A8D22 #228D3F #228D75
triadic
#228D3F #3F228D #8D3F22
tetradic
#228D3F #223A8D #8D2270 #8D7522
square
#228D3F #223A8D #8D2270 #8D7522
split-complementary
#228D3F #75228D #8D223A
monochromatic
#0A2A13 #165C29 #228D3F #2EBE55 #54D677

Accessibility & contrast

On white

4.24
#228D3F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#228D3F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228D3F
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228D3F#FFFFFF#000000##000000
##228D3F1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8038
Deuteranopia (green-blind)
#827745
Tritanopia (blue-blind)
#008A7B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #228d3f;
/* rgb */ color: rgb(34, 141, 63);
/* oklch */ color: oklch(56.7% 0.149 147.9);
Tailwind
colors: {
  custom: {
    50: '#6eaf76',
    500: '#228d3f',
    950: '#000000',
  },
}
SCSS
$custom: #228d3f;
$custom-light: #6eaf76;
$custom-dark: #000000;
JSON
{
  "hex": "#228d3f",
  "rgb": {
    "r": 34,
    "g": 141,
    "b": 63
  },
  "hsl": {
    "h": 136.262,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56665,
    "c": 0.1489,
    "h": 147.9
  },
  "luminance": 0.19749
}

Semantic roles & 50–950 ramp

primary
#228D3F
secondary
#B9519D
accent
#44B9E4
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #228D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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