#228C4B#228C4B

#228C4B is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.6% C 0.136 H 151.6°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#228C4B
RGBrgb(34, 140, 75)
HSLhsl(143, 61%, 34%)
HSVhsv(143, 76%, 55%)
CMYKcmyk(75.7%, 0%, 46.4%, 45.1%)
CIE-LABlab(51.39, -44.55, 26.42)
CIE-LCHlch(51.39, 51.79, 149.33°)
OKLaboklab(56.58% -0.1198 0.0649)
OKLCHoklch(56.58% 0.136 151.6)
XYZxyz(11.3068, 19.6029, 9.8431)
Luminance0.1960 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228C4B #8C2263
analogous
#2E8C22 #228C4B #228C80
triadic
#228C4B #4B228C #8C4B22
tetradic
#228C4B #222E8C #8C2263 #8C8022
square
#228C4B #222E8C #8C2263 #8C8022
split-complementary
#228C4B #80228C #8C222E
monochromatic
#0A2A16 #165B31 #228C4B #2EBD65 #53D585

Accessibility & contrast

On white

4.27
#228C4B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#228C4B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228C4B
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228C4B#FFFFFF#000000##000000
##228C4B1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C8046
Deuteranopia (green-blind)
#807750
Tritanopia (blue-blind)
#008A7C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #228c4b;
/* rgb */ color: rgb(34, 140, 75);
/* oklch */ color: oklch(56.6% 0.136 151.6);
Tailwind
colors: {
  custom: {
    50: '#6eaf7e',
    500: '#228c4b',
    950: '#000000',
  },
}
SCSS
$custom: #228c4b;
$custom-light: #6eaf7e;
$custom-dark: #000000;
JSON
{
  "hex": "#228c4b",
  "rgb": {
    "r": 34,
    "g": 140,
    "b": 75
  },
  "hsl": {
    "h": 143.208,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56584,
    "c": 0.13629,
    "h": 151.6
  },
  "luminance": 0.19604
}

Semantic roles & 50–950 ramp

primary
#228C4B
secondary
#B95191
accent
#44A6E4
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #228C4B

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

Preview Lab → · Contrast checker → · Palette generator →

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