#228624#228624

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

Color values

HEX#228624
RGBrgb(34, 134, 36)
HSLhsl(121, 60%, 33%)
HSVhsv(121, 75%, 53%)
CMYKcmyk(74.6%, 0%, 73.1%, 47.5%)
CIE-LABlab(48.90, -47.70, 42.51)
CIE-LCHlch(48.90, 63.89, 138.29°)
OKLaboklab(54.38% -0.1294 0.0969)
OKLCHoklch(54.38% 0.162 143.2)
XYZxyz(9.5026, 17.5166, 4.5490)
Luminance0.1752 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228624 #862284
analogous
#528622 #228624 #228656
triadic
#228624 #242286 #862422
tetradic
#228624 #225286 #862284 #865622
square
#228624 #225286 #862284 #865622
split-complementary
#228624 #562286 #862252
monochromatic
#09240A #165517 #228624 #2EB731 #50D352

Accessibility & contrast

On white

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

On black

4.50
#228624 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##228624#FFFFFF#000000##FFFFFF
##2286241.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #228624;
/* rgb */ color: rgb(34, 134, 36);
/* oklch */ color: oklch(54.4% 0.162 143.2);
Tailwind
colors: {
  custom: {
    50: '#6eaa65',
    500: '#228624',
    950: '#000000',
  },
}
SCSS
$custom: #228624;
$custom-light: #6eaa65;
$custom-dark: #000000;
JSON
{
  "hex": "#228624",
  "rgb": {
    "r": 34,
    "g": 134,
    "b": 36
  },
  "hsl": {
    "h": 121.2,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54383,
    "c": 0.16162,
    "h": 143.2
  },
  "luminance": 0.17518
}

Semantic roles & 50–950 ramp

primary
#228624
secondary
#B64EB4
accent
#45E0E3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #228624

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

Preview Lab → · Contrast checker → · Palette generator →

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