#228A3F#228A3F

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

Color values

HEX#228A3F
RGBrgb(34, 138, 63)
HSLhsl(137, 60%, 34%)
HSVhsv(137, 75%, 54%)
CMYKcmyk(75.4%, 0%, 54.3%, 45.9%)
CIE-LABlab(50.54, -45.80, 31.72)
CIE-LCHlch(50.54, 55.71, 145.30°)
OKLaboklab(55.83% -0.1232 0.0763)
OKLCHoklch(55.83% 0.145 148.2)
XYZxyz(10.6445, 18.8747, 7.7839)
Luminance0.1888 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228A3F #8A226D
analogous
#398A22 #228A3F #228A73
triadic
#228A3F #3F228A #8A3F22
tetradic
#228A3F #22398A #8A226D #8A7322
square
#228A3F #22398A #8A226D #8A7322
split-complementary
#228A3F #73228A #8A2239
monochromatic
#0A2812 #165929 #228A3F #2EBB55 #52D476

Accessibility & contrast

On white

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

On black

4.78
#228A3F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228A3F
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228A3F#FFFFFF#000000##000000
##228A3F1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #228a3f;
/* rgb */ color: rgb(34, 138, 63);
/* oklch */ color: oklch(55.8% 0.145 148.2);
Tailwind
colors: {
  custom: {
    50: '#6ead76',
    500: '#228a3f',
    950: '#000000',
  },
}
SCSS
$custom: #228a3f;
$custom-light: #6ead76;
$custom-dark: #000000;
JSON
{
  "hex": "#228a3f",
  "rgb": {
    "r": 34,
    "g": 138,
    "b": 63
  },
  "hsl": {
    "h": 136.731,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55829,
    "c": 0.14494,
    "h": 148.2
  },
  "luminance": 0.18876
}

Semantic roles & 50–950 ramp

primary
#228A3F
secondary
#B8509B
accent
#44B7E4
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #228A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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