#228A4B#228A4B

#228A4B is a mid, vivid green. Relative luminance 0.190; OKLCH L 56.0% C 0.134 H 151.9°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#228A4B
RGBrgb(34, 138, 75)
HSLhsl(144, 60%, 34%)
HSVhsv(144, 75%, 54%)
CMYKcmyk(75.4%, 0%, 45.7%, 45.9%)
CIE-LABlab(50.72, -43.78, 25.56)
CIE-LCHlch(50.72, 50.69, 149.72°)
OKLaboklab(56.03% -0.1178 0.0629)
OKLCHoklch(56.03% 0.134 151.9)
XYZxyz(11.0172, 19.0238, 9.7466)
Luminance0.1903 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228A4B #8A2261
analogous
#2D8A22 #228A4B #228A7F
triadic
#228A4B #4B228A #8A4B22
tetradic
#228A4B #222D8A #8A2261 #8A7F22
square
#228A4B #222D8A #8A2261 #8A7F22
split-complementary
#228A4B #7F228A #8A222D
monochromatic
#0A2816 #165930 #228A4B #2EBB66 #52D485

Accessibility & contrast

On white

4.37
#228A4B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#228A4B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228A4B
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228A4B#FFFFFF#000000##000000
##228A4B1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7E46
Deuteranopia (green-blind)
#7E754F
Tritanopia (blue-blind)
#00887B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #228a4b;
/* rgb */ color: rgb(34, 138, 75);
/* oklch */ color: oklch(56.0% 0.134 151.9);
Tailwind
colors: {
  custom: {
    50: '#6dad7e',
    500: '#228a4b',
    950: '#000000',
  },
}
SCSS
$custom: #228a4b;
$custom-light: #6dad7e;
$custom-dark: #000000;
JSON
{
  "hex": "#228a4b",
  "rgb": {
    "r": 34,
    "g": 138,
    "b": 75
  },
  "hsl": {
    "h": 143.654,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.5603,
    "c": 0.13356,
    "h": 151.9
  },
  "luminance": 0.19025
}

Semantic roles & 50–950 ramp

primary
#228A4B
secondary
#B8508F
accent
#44A5E4
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #228A4B

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

Preview Lab → · Contrast checker → · Palette generator →

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