#228A3D#228A3D

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

Color values

HEX#228A3D
RGBrgb(34, 138, 61)
HSLhsl(136, 60%, 34%)
HSVhsv(136, 75%, 54%)
CMYKcmyk(75.4%, 0%, 55.8%, 45.9%)
CIE-LABlab(50.51, -46.11, 32.71)
CIE-LCHlch(50.51, 56.53, 144.64°)
OKLaboklab(55.8% -0.1241 0.0784)
OKLCHoklch(55.8% 0.147 147.7)
XYZxyz(10.5897, 18.8527, 7.4948)
Luminance0.1885 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228A3D #8A226F
analogous
#3B8A22 #228A3D #228A71
triadic
#228A3D #3D228A #8A3D22
tetradic
#228A3D #223B8A #8A226F #8A7122
square
#228A3D #223B8A #8A226F #8A7122
split-complementary
#228A3D #71228A #8A223B
monochromatic
#0A2812 #165927 #228A3D #2EBB53 #52D474

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##228A3D#FFFFFF#000000##000000
##228A3D1.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)
#8C7D36
Deuteranopia (green-blind)
#7F7543
Tritanopia (blue-blind)
#008779
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #228a3d;
/* rgb */ color: rgb(34, 138, 61);
/* oklch */ color: oklch(55.8% 0.147 147.7);
Tailwind
colors: {
  custom: {
    50: '#6ead74',
    500: '#228a3d',
    950: '#000000',
  },
}
SCSS
$custom: #228a3d;
$custom-light: #6ead74;
$custom-dark: #000000;
JSON
{
  "hex": "#228a3d",
  "rgb": {
    "r": 34,
    "g": 138,
    "b": 61
  },
  "hsl": {
    "h": 135.577,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55799,
    "c": 0.14678,
    "h": 147.7
  },
  "luminance": 0.18854
}

Semantic roles & 50–950 ramp

primary
#228A3D
secondary
#B8509D
accent
#44BAE4
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #228A3D

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

Preview Lab → · Contrast checker → · Palette generator →

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