#228626#228626

#228626 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.4% C 0.160 H 143.5°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#228626
RGBrgb(34, 134, 38)
HSLhsl(122, 60%, 33%)
HSVhsv(122, 75%, 53%)
CMYKcmyk(74.6%, 0%, 71.6%, 47.5%)
CIE-LABlab(48.92, -47.51, 41.70)
CIE-LCHlch(48.92, 63.22, 138.72°)
OKLaboklab(54.4% -0.1288 0.0954)
OKLCHoklch(54.4% 0.16 143.5)
XYZxyz(9.5340, 17.5291, 4.7143)
Luminance0.1753 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228626 #862282
analogous
#508622 #228626 #228658
triadic
#228626 #262286 #862622
tetradic
#228626 #225086 #862282 #865822
square
#228626 #225086 #862282 #865822
split-complementary
#228626 #582286 #862250
monochromatic
#09240A #165518 #228626 #2EB734 #50D355

Accessibility & contrast

On white

4.66
#228626 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#228626 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #228626
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228626#FFFFFF#000000##FFFFFF
##2286261.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897918
Deuteranopia (green-blind)
#7D712F
Tritanopia (blue-blind)
#008273
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #228626;
/* rgb */ color: rgb(34, 134, 38);
/* oklch */ color: oklch(54.4% 0.160 143.5);
Tailwind
colors: {
  custom: {
    50: '#6eaa66',
    500: '#228626',
    950: '#000000',
  },
}
SCSS
$custom: #228626;
$custom-light: #6eaa66;
$custom-dark: #000000;
JSON
{
  "hex": "#228626",
  "rgb": {
    "r": 34,
    "g": 134,
    "b": 38
  },
  "hsl": {
    "h": 122.4,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54401,
    "c": 0.16028,
    "h": 143.5
  },
  "luminance": 0.1753
}

Semantic roles & 50–950 ramp

primary
#228626
secondary
#B64EB2
accent
#45DCE3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #228626

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

Preview Lab → · Contrast checker → · Palette generator →

#228626 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva