#228236#228236

#228236 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.5% C 0.142 H 146.7°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#228236
RGBrgb(34, 130, 54)
HSLhsl(133, 59%, 32%)
HSVhsv(133, 74%, 51%)
CMYKcmyk(73.8%, 0%, 58.5%, 49%)
CIE-LABlab(47.71, -44.17, 32.92)
CIE-LCHlch(47.71, 55.09, 143.30°)
OKLaboklab(53.45% -0.119 0.0783)
OKLCHoklch(53.45% 0.143 146.7)
XYZxyz(9.3075, 16.5706, 6.1972)
Luminance0.1657 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228236 #82226E
analogous
#3E8222 #228236 #228266
triadic
#228236 #362282 #823622
tetradic
#228236 #223E82 #82226E #826622
square
#228236 #223E82 #82226E #826622
split-complementary
#228236 #662282 #82223E
monochromatic
#09210E #155122 #228236 #2FB34A #4ED169

Accessibility & contrast

On white

4.87
#228236 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#228236 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228236
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228236#FFFFFF#000000##FFFFFF
##2282361.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84762F
Deuteranopia (green-blind)
#796E3C
Tritanopia (blue-blind)
#007F71
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #228236;
/* rgb */ color: rgb(34, 130, 54);
/* oklch */ color: oklch(53.5% 0.142 146.7);
Tailwind
colors: {
  custom: {
    50: '#6ca76f',
    500: '#228236',
    950: '#000000',
  },
}
SCSS
$custom: #228236;
$custom-light: #6ca76f;
$custom-dark: #000000;
JSON
{
  "hex": "#228236",
  "rgb": {
    "r": 34,
    "g": 130,
    "b": 54
  },
  "hsl": {
    "h": 132.5,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53453,
    "c": 0.1425,
    "h": 146.7
  },
  "luminance": 0.16572
}

Semantic roles & 50–950 ramp

primary
#228236
secondary
#B44C9E
accent
#46C1E2
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#081007
muted
#7A7F7A

Preview Lab

Preview with #228236

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

Preview Lab → · Contrast checker → · Palette generator →

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