#228A3E#228A3E

#228A3E is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.8% C 0.146 H 148.0°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#228A3E
RGBrgb(34, 138, 62)
HSLhsl(136, 60%, 34%)
HSVhsv(136, 75%, 54%)
CMYKcmyk(75.4%, 0%, 55.1%, 45.9%)
CIE-LABlab(50.53, -45.96, 32.22)
CIE-LCHlch(50.53, 56.12, 144.97°)
OKLaboklab(55.81% -0.1237 0.0774)
OKLCHoklch(55.81% 0.146 148)
XYZxyz(10.6168, 18.8636, 7.6380)
Luminance0.1887 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228A3E #8A226E
analogous
#3A8A22 #228A3E #228A72
triadic
#228A3E #3E228A #8A3E22
tetradic
#228A3E #223A8A #8A226E #8A7222
square
#228A3E #223A8A #8A226E #8A7222
split-complementary
#228A3E #72228A #8A223A
monochromatic
#0A2812 #165928 #228A3E #2EBB54 #52D475

Accessibility & contrast

On white

4.40
#228A3E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#228A3E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228A3E
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228A3E#FFFFFF#000000##000000
##228A3E1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7D37
Deuteranopia (green-blind)
#7F7544
Tritanopia (blue-blind)
#008779
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #228a3e;
/* rgb */ color: rgb(34, 138, 62);
/* oklch */ color: oklch(55.8% 0.146 148.0);
Tailwind
colors: {
  custom: {
    50: '#6ead75',
    500: '#228a3e',
    950: '#000000',
  },
}
SCSS
$custom: #228a3e;
$custom-light: #6ead75;
$custom-dark: #000000;
JSON
{
  "hex": "#228a3e",
  "rgb": {
    "r": 34,
    "g": 138,
    "b": 62
  },
  "hsl": {
    "h": 136.154,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55814,
    "c": 0.14586,
    "h": 148
  },
  "luminance": 0.18865
}

Semantic roles & 50–950 ramp

primary
#228A3E
secondary
#B8509C
accent
#44B9E4
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #228A3E

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

Preview Lab → · Contrast checker → · Palette generator →

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