#228A2E#228A2E

#228A2E is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.6% C 0.159 H 144.6°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#228A2E
RGBrgb(34, 138, 46)
HSLhsl(127, 60%, 34%)
HSVhsv(127, 75%, 54%)
CMYKcmyk(75.4%, 0%, 66.7%, 45.9%)
CIE-LABlab(50.35, -48.07, 39.77)
CIE-LCHlch(50.35, 62.39, 140.40°)
OKLaboklab(55.61% -0.1299 0.0923)
OKLCHoklch(55.61% 0.159 144.6)
XYZxyz(10.2406, 18.7131, 5.6565)
Luminance0.1871 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228A2E #8A227E
analogous
#4A8A22 #228A2E #228A62
triadic
#228A2E #2E228A #8A2E22
tetradic
#228A2E #224A8A #8A227E #8A6222
square
#228A2E #224A8A #8A227E #8A6222
split-complementary
#228A2E #62228A #8A224A
monochromatic
#0A280D #16591E #228A2E #2EBB3E #52D461

Accessibility & contrast

On white

4.43
#228A2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#228A2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228A2E
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228A2E#FFFFFF#000000##000000
##228A2E1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D23
Deuteranopia (green-blind)
#817536
Tritanopia (blue-blind)
#008677
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #228a2e;
/* rgb */ color: rgb(34, 138, 46);
/* oklch */ color: oklch(55.6% 0.159 144.6);
Tailwind
colors: {
  custom: {
    50: '#6fad6b',
    500: '#228a2e',
    950: '#000000',
  },
}
SCSS
$custom: #228a2e;
$custom-light: #6fad6b;
$custom-dark: #000000;
JSON
{
  "hex": "#228a2e",
  "rgb": {
    "r": 34,
    "g": 138,
    "b": 46
  },
  "hsl": {
    "h": 126.923,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55609,
    "c": 0.15937,
    "h": 144.6
  },
  "luminance": 0.18714
}

Semantic roles & 50–950 ramp

primary
#228A2E
secondary
#B850AC
accent
#44D1E4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #228A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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