#228628#228628

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

Color values

HEX#228628
RGBrgb(34, 134, 40)
HSLhsl(124, 60%, 33%)
HSVhsv(124, 75%, 53%)
CMYKcmyk(74.6%, 0%, 70.1%, 47.5%)
CIE-LABlab(48.94, -47.31, 40.87)
CIE-LCHlch(48.94, 62.52, 139.17°)
OKLaboklab(54.42% -0.1281 0.0939)
OKLCHoklch(54.42% 0.159 143.8)
XYZxyz(9.5672, 17.5424, 4.8889)
Luminance0.1754 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228628 #862280
analogous
#4E8622 #228628 #22865A
triadic
#228628 #282286 #862822
tetradic
#228628 #224E86 #862280 #865A22
square
#228628 #224E86 #862280 #865A22
split-complementary
#228628 #5A2286 #86224E
monochromatic
#09240B #165519 #228628 #2EB737 #50D358

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##228628#FFFFFF#000000##FFFFFF
##2286281.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)
#89791B
Deuteranopia (green-blind)
#7D7131
Tritanopia (blue-blind)
#008273
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #228628;
/* rgb */ color: rgb(34, 134, 40);
/* oklch */ color: oklch(54.4% 0.159 143.8);
Tailwind
colors: {
  custom: {
    50: '#6eaa67',
    500: '#228628',
    950: '#000000',
  },
}
SCSS
$custom: #228628;
$custom-light: #6eaa67;
$custom-dark: #000000;
JSON
{
  "hex": "#228628",
  "rgb": {
    "r": 34,
    "g": 134,
    "b": 40
  },
  "hsl": {
    "h": 123.6,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5442,
    "c": 0.15889,
    "h": 143.8
  },
  "luminance": 0.17543
}

Semantic roles & 50–950 ramp

primary
#228628
secondary
#B64EB0
accent
#45D9E3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #228628

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

Preview Lab → · Contrast checker → · Palette generator →

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