#228536#228536

#228536 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.3% C 0.146 H 146.4°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#228536
RGBrgb(34, 133, 54)
HSLhsl(132, 59%, 33%)
HSVhsv(132, 74%, 52%)
CMYKcmyk(74.4%, 0%, 59.4%, 47.8%)
CIE-LABlab(48.74, -45.28, 34.13)
CIE-LCHlch(48.74, 56.70, 142.99°)
OKLaboklab(54.3% -0.122 0.081)
OKLCHoklch(54.3% 0.146 146.4)
XYZxyz(9.7124, 17.3804, 6.3322)
Luminance0.1738 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228536 #852271
analogous
#408522 #228536 #228567
triadic
#228536 #362285 #853622
tetradic
#228536 #224085 #852271 #856722
square
#228536 #224085 #852271 #856722
split-complementary
#228536 #672285 #852240
monochromatic
#09240E #165422 #228536 #2EB64A #4FD26A

Accessibility & contrast

On white

4.69
#228536 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#228536 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228536
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228536#FFFFFF#000000##FFFFFF
##2285361.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87792E
Deuteranopia (green-blind)
#7B713C
Tritanopia (blue-blind)
#008274
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #228536;
/* rgb */ color: rgb(34, 133, 54);
/* oklch */ color: oklch(54.3% 0.146 146.4);
Tailwind
colors: {
  custom: {
    50: '#6da96f',
    500: '#228536',
    950: '#000000',
  },
}
SCSS
$custom: #228536;
$custom-light: #6da96f;
$custom-dark: #000000;
JSON
{
  "hex": "#228536",
  "rgb": {
    "r": 34,
    "g": 133,
    "b": 54
  },
  "hsl": {
    "h": 132.121,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54299,
    "c": 0.14645,
    "h": 146.4
  },
  "luminance": 0.17381
}

Semantic roles & 50–950 ramp

primary
#228536
secondary
#B64DA0
accent
#45C3E2
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #228536

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

Preview Lab → · Contrast checker → · Palette generator →

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