#228328#228328

#228328 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.6% C 0.155 H 143.8°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#228328
RGBrgb(34, 131, 40)
HSLhsl(124, 59%, 32%)
HSVhsv(124, 74%, 51%)
CMYKcmyk(74%, 0%, 69.5%, 48.6%)
CIE-LABlab(47.91, -46.25, 39.77)
CIE-LCHlch(47.91, 61.00, 139.31°)
OKLaboklab(53.57% -0.1253 0.0916)
OKLCHoklch(53.57% 0.155 143.8)
XYZxyz(9.1584, 16.7249, 4.7526)
Luminance0.1673 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228328 #83227D
analogous
#4D8322 #228328 #228358
triadic
#228328 #282283 #832822
tetradic
#228328 #224D83 #83227D #835822
square
#228328 #224D83 #83227D #835822
split-complementary
#228328 #582283 #83224D
monochromatic
#09220A #155219 #228328 #2FB437 #4ED156

Accessibility & contrast

On white

4.83
#228328 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#228328 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228328
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228328#FFFFFF#000000##FFFFFF
##2283281.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86761C
Deuteranopia (green-blind)
#7B6F30
Tritanopia (blue-blind)
#007F70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #228328;
/* rgb */ color: rgb(34, 131, 40);
/* oklch */ color: oklch(53.6% 0.155 143.8);
Tailwind
colors: {
  custom: {
    50: '#6da867',
    500: '#228328',
    950: '#000000',
  },
}
SCSS
$custom: #228328;
$custom-light: #6da867;
$custom-dark: #000000;
JSON
{
  "hex": "#228328",
  "rgb": {
    "r": 34,
    "g": 131,
    "b": 40
  },
  "hsl": {
    "h": 123.711,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5357,
    "c": 0.1552,
    "h": 143.8
  },
  "luminance": 0.16726
}

Semantic roles & 50–950 ramp

primary
#228328
secondary
#B44CAE
accent
#46D8E2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #228328

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

Preview Lab → · Contrast checker → · Palette generator →

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