#228D26#228D26

#228D26 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.4% C 0.169 H 143.4°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#228D26
RGBrgb(34, 141, 38)
HSLhsl(122, 61%, 34%)
HSVhsv(122, 76%, 55%)
CMYKcmyk(75.9%, 0%, 73%, 44.7%)
CIE-LABlab(51.30, -49.92, 44.19)
CIE-LCHlch(51.30, 66.67, 138.48°)
OKLaboklab(56.38% -0.1353 0.1006)
OKLCHoklch(56.38% 0.169 143.4)
XYZxyz(10.5337, 19.5286, 5.0476)
Luminance0.1953 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228D26 #8D2289
analogous
#548D22 #228D26 #228D5C
triadic
#228D26 #26228D #8D2622
tetradic
#228D26 #22548D #8D2289 #8D5C22
square
#228D26 #22548D #8D2289 #8D5C22
split-complementary
#228D26 #5C228D #8D2254
monochromatic
#0A2A0B #165C19 #228D26 #2EBE33 #54D659

Accessibility & contrast

On white

4.28
#228D26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#228D26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228D26
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228D26#FFFFFF#000000##000000
##228D261.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F15
Deuteranopia (green-blind)
#847730
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #228d26;
/* rgb */ color: rgb(34, 141, 38);
/* oklch */ color: oklch(56.4% 0.169 143.4);
Tailwind
colors: {
  custom: {
    50: '#70af67',
    500: '#228d26',
    950: '#000000',
  },
}
SCSS
$custom: #228d26;
$custom-light: #70af67;
$custom-dark: #000000;
JSON
{
  "hex": "#228d26",
  "rgb": {
    "r": 34,
    "g": 141,
    "b": 38
  },
  "hsl": {
    "h": 122.243,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56377,
    "c": 0.16863,
    "h": 143.4
  },
  "luminance": 0.1953
}

Semantic roles & 50–950 ramp

primary
#228D26
secondary
#B951B6
accent
#44DEE4
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #228D26

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

Preview Lab → · Contrast checker → · Palette generator →

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