#228327#228327

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

Color values

HEX#228327
RGBrgb(34, 131, 39)
HSLhsl(123, 59%, 32%)
HSVhsv(123, 74%, 51%)
CMYKcmyk(74%, 0%, 70.2%, 48.6%)
CIE-LABlab(47.90, -46.36, 40.20)
CIE-LCHlch(47.90, 61.36, 139.07°)
OKLaboklab(53.56% -0.1256 0.0924)
OKLCHoklch(53.56% 0.156 143.7)
XYZxyz(9.1416, 16.7181, 4.6642)
Luminance0.1672 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228327 #83227E
analogous
#4D8322 #228327 #228358
triadic
#228327 #272283 #832722
tetradic
#228327 #224D83 #83227E #835822
square
#228327 #224D83 #83227E #835822
split-complementary
#228327 #582283 #83224D
monochromatic
#09220A #155219 #228327 #2FB435 #4ED155

Accessibility & contrast

On white

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

On black

4.34
#228327 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##228327#FFFFFF#000000##FFFFFF
##2283271.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #228327;
/* rgb */ color: rgb(34, 131, 39);
/* oklch */ color: oklch(53.6% 0.156 143.7);
Tailwind
colors: {
  custom: {
    50: '#6da866',
    500: '#228327',
    950: '#000000',
  },
}
SCSS
$custom: #228327;
$custom-light: #6da866;
$custom-dark: #000000;
JSON
{
  "hex": "#228327",
  "rgb": {
    "r": 34,
    "g": 131,
    "b": 39
  },
  "hsl": {
    "h": 123.093,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5356,
    "c": 0.15592,
    "h": 143.7
  },
  "luminance": 0.16719
}

Semantic roles & 50–950 ramp

primary
#228327
secondary
#B44CAF
accent
#46DAE2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #228327

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

Preview Lab → · Contrast checker → · Palette generator →

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