#228E26#228E26

#228E26 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.7% C 0.170 H 143.3°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#228E26
RGBrgb(34, 142, 38)
HSLhsl(122, 61%, 35%)
HSVhsv(122, 76%, 56%)
CMYKcmyk(76.1%, 0%, 73.2%, 44.3%)
CIE-LABlab(51.64, -50.26, 44.54)
CIE-LCHlch(51.64, 67.15, 138.45°)
OKLaboklab(56.66% -0.1362 0.1014)
OKLCHoklch(56.66% 0.17 143.3)
XYZxyz(10.6819, 19.8248, 5.0970)
Luminance0.1983 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228E26 #8E228A
analogous
#548E22 #228E26 #228E5C
triadic
#228E26 #26228E #8E2622
tetradic
#228E26 #22548E #8E228A #8E5C22
square
#228E26 #22548E #8E228A #8E5C22
split-complementary
#228E26 #5C228E #8E2254
monochromatic
#0A2B0C #165D19 #228E26 #2EBF33 #54D659

Accessibility & contrast

On white

4.23
#228E26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#228E26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228E26
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228E26#FFFFFF#000000##000000
##228E261.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#918015
Deuteranopia (green-blind)
#857831
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #228e26;
/* rgb */ color: rgb(34, 142, 38);
/* oklch */ color: oklch(56.7% 0.170 143.3);
Tailwind
colors: {
  custom: {
    50: '#70b067',
    500: '#228e26',
    950: '#000000',
  },
}
SCSS
$custom: #228e26;
$custom-light: #70b067;
$custom-dark: #000000;
JSON
{
  "hex": "#228e26",
  "rgb": {
    "r": 34,
    "g": 142,
    "b": 38
  },
  "hsl": {
    "h": 122.222,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56658,
    "c": 0.16981,
    "h": 143.3
  },
  "luminance": 0.19826
}

Semantic roles & 50–950 ramp

primary
#228E26
secondary
#BA52B6
accent
#43DFE4
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #228E26

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

Preview Lab → · Contrast checker → · Palette generator →

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