#228836#228836

#228836 is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.1% C 0.150 H 146.2°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#228836
RGBrgb(34, 136, 54)
HSLhsl(132, 60%, 33%)
HSVhsv(132, 75%, 53%)
CMYKcmyk(75%, 0%, 60.3%, 46.7%)
CIE-LABlab(49.75, -46.37, 35.32)
CIE-LCHlch(49.75, 58.29, 142.70°)
OKLaboklab(55.14% -0.125 0.0836)
OKLCHoklch(55.14% 0.15 146.2)
XYZxyz(10.1290, 18.2136, 6.4711)
Luminance0.1822 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228836 #882274
analogous
#418822 #228836 #228869
triadic
#228836 #362288 #883622
tetradic
#228836 #224188 #882274 #886922
square
#228836 #224188 #882274 #886922
split-complementary
#228836 #692288 #882241
monochromatic
#0A260F #165723 #228836 #2EB949 #51D36B

Accessibility & contrast

On white

4.52
#228836 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#228836 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228836
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228836#FFFFFF#000000##000000
##2288361.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B2E
Deuteranopia (green-blind)
#7E733D
Tritanopia (blue-blind)
#008576
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #228836;
/* rgb */ color: rgb(34, 136, 54);
/* oklch */ color: oklch(55.1% 0.150 146.2);
Tailwind
colors: {
  custom: {
    50: '#6eac70',
    500: '#228836',
    950: '#000000',
  },
}
SCSS
$custom: #228836;
$custom-light: #6eac70;
$custom-dark: #000000;
JSON
{
  "hex": "#228836",
  "rgb": {
    "r": 34,
    "g": 136,
    "b": 54
  },
  "hsl": {
    "h": 131.765,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55142,
    "c": 0.15034,
    "h": 146.2
  },
  "luminance": 0.18215
}

Semantic roles & 50–950 ramp

primary
#228836
secondary
#B74FA3
accent
#45C4E3
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #228836

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

Preview Lab → · Contrast checker → · Palette generator →

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