#228326#228326

#228326 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.5% C 0.157 H 143.5°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#228326
RGBrgb(34, 131, 38)
HSLhsl(122, 59%, 32%)
HSVhsv(122, 74%, 51%)
CMYKcmyk(74%, 0%, 71%, 48.6%)
CIE-LABlab(47.89, -46.46, 40.62)
CIE-LCHlch(47.89, 61.71, 138.84°)
OKLaboklab(53.55% -0.1259 0.0932)
OKLCHoklch(53.55% 0.157 143.5)
XYZxyz(9.1253, 16.7116, 4.5781)
Luminance0.1671 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228326 #83227F
analogous
#4F8322 #228326 #228356
triadic
#228326 #262283 #832622
tetradic
#228326 #224F83 #83227F #835622
square
#228326 #224F83 #83227F #835622
split-complementary
#228326 #562283 #83224F
monochromatic
#09220A #155218 #228326 #2FB434 #4ED154

Accessibility & contrast

On white

4.84
#228326 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #228326
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228326#FFFFFF#000000##FFFFFF
##2283261.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867618
Deuteranopia (green-blind)
#7B6F2F
Tritanopia (blue-blind)
#007F70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #228326;
/* rgb */ color: rgb(34, 131, 38);
/* oklch */ color: oklch(53.5% 0.157 143.5);
Tailwind
colors: {
  custom: {
    50: '#6da866',
    500: '#228326',
    950: '#000000',
  },
}
SCSS
$custom: #228326;
$custom-light: #6da866;
$custom-dark: #000000;
JSON
{
  "hex": "#228326",
  "rgb": {
    "r": 34,
    "g": 131,
    "b": 38
  },
  "hsl": {
    "h": 122.474,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5355,
    "c": 0.15663,
    "h": 143.5
  },
  "luminance": 0.16713
}

Semantic roles & 50–950 ramp

primary
#228326
secondary
#B44CB0
accent
#46DCE2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #228326

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

Preview Lab → · Contrast checker → · Palette generator →

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