#228A41#228A41

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

Color values

HEX#228A41
RGBrgb(34, 138, 65)
HSLhsl(138, 60%, 34%)
HSVhsv(138, 75%, 54%)
CMYKcmyk(75.4%, 0%, 52.9%, 45.9%)
CIE-LABlab(50.57, -45.49, 30.71)
CIE-LCHlch(50.57, 54.89, 145.97°)
OKLaboklab(55.86% -0.1224 0.0742)
OKLCHoklch(55.86% 0.143 148.8)
XYZxyz(10.7015, 18.8975, 8.0836)
Luminance0.1890 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228A41 #8A226B
analogous
#378A22 #228A41 #228A75
triadic
#228A41 #41228A #8A4122
tetradic
#228A41 #22378A #8A226B #8A7522
square
#228A41 #22378A #8A226B #8A7522
split-complementary
#228A41 #75228A #8A2237
monochromatic
#0A2813 #16592A #228A41 #2EBB58 #52D479

Accessibility & contrast

On white

4.39
#228A41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##228A41#FFFFFF#000000##000000
##228A411.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #228a41;
/* rgb */ color: rgb(34, 138, 65);
/* oklch */ color: oklch(55.9% 0.143 148.8);
Tailwind
colors: {
  custom: {
    50: '#6ead77',
    500: '#228a41',
    950: '#000000',
  },
}
SCSS
$custom: #228a41;
$custom-light: #6ead77;
$custom-dark: #000000;
JSON
{
  "hex": "#228a41",
  "rgb": {
    "r": 34,
    "g": 138,
    "b": 65
  },
  "hsl": {
    "h": 137.885,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.5586,
    "c": 0.14309,
    "h": 148.8
  },
  "luminance": 0.18899
}

Semantic roles & 50–950 ramp

primary
#228A41
secondary
#B85099
accent
#44B4E4
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #228A41

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

Preview Lab → · Contrast checker → · Palette generator →

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