#228336#228336

#228336 is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.7% C 0.144 H 146.6°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#228336
RGBrgb(34, 131, 54)
HSLhsl(132, 59%, 32%)
HSVhsv(132, 74%, 51%)
CMYKcmyk(74%, 0%, 58.8%, 48.6%)
CIE-LABlab(48.06, -44.54, 33.32)
CIE-LCHlch(48.06, 55.63, 143.20°)
OKLaboklab(53.74% -0.12 0.0792)
OKLCHoklch(53.74% 0.144 146.6)
XYZxyz(9.4412, 16.8380, 6.2418)
Luminance0.1684 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228336 #83226F
analogous
#3F8322 #228336 #228367
triadic
#228336 #362283 #833622
tetradic
#228336 #223F83 #83226F #836722
square
#228336 #223F83 #83226F #836722
split-complementary
#228336 #672283 #83223F
monochromatic
#09220E #155222 #228336 #2FB44A #4ED169

Accessibility & contrast

On white

4.81
#228336 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#228336 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228336
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228336#FFFFFF#000000##FFFFFF
##2283361.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85772E
Deuteranopia (green-blind)
#796F3C
Tritanopia (blue-blind)
#008072
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #228336;
/* rgb */ color: rgb(34, 131, 54);
/* oklch */ color: oklch(53.7% 0.144 146.6);
Tailwind
colors: {
  custom: {
    50: '#6ca86f',
    500: '#228336',
    950: '#000000',
  },
}
SCSS
$custom: #228336;
$custom-light: #6ca86f;
$custom-dark: #000000;
JSON
{
  "hex": "#228336",
  "rgb": {
    "r": 34,
    "g": 131,
    "b": 54
  },
  "hsl": {
    "h": 132.371,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53735,
    "c": 0.14382,
    "h": 146.6
  },
  "luminance": 0.16839
}

Semantic roles & 50–950 ramp

primary
#228336
secondary
#B44C9F
accent
#46C2E2
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #228336

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

Preview Lab → · Contrast checker → · Palette generator →

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