#228537#228537

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

Color values

HEX#228537
RGBrgb(34, 133, 55)
HSLhsl(133, 59%, 33%)
HSVhsv(133, 74%, 52%)
CMYKcmyk(74.4%, 0%, 58.6%, 47.8%)
CIE-LABlab(48.75, -45.14, 33.64)
CIE-LCHlch(48.75, 56.29, 143.30°)
OKLaboklab(54.31% -0.1216 0.08)
OKLCHoklch(54.31% 0.146 146.7)
XYZxyz(9.7361, 17.3899, 6.4572)
Luminance0.1739 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228537 #852270
analogous
#3F8522 #228537 #228568
triadic
#228537 #372285 #853722
tetradic
#228537 #223F85 #852270 #856822
square
#228537 #223F85 #852270 #856822
split-complementary
#228537 #682285 #85223F
monochromatic
#09240F #165423 #228537 #2EB64B #4FD26B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##228537#FFFFFF#000000##FFFFFF
##2285371.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)
#87792F
Deuteranopia (green-blind)
#7B713D
Tritanopia (blue-blind)
#008274
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #228537;
/* rgb */ color: rgb(34, 133, 55);
/* oklch */ color: oklch(54.3% 0.146 146.7);
Tailwind
colors: {
  custom: {
    50: '#6da970',
    500: '#228537',
    950: '#000000',
  },
}
SCSS
$custom: #228537;
$custom-light: #6da970;
$custom-dark: #000000;
JSON
{
  "hex": "#228537",
  "rgb": {
    "r": 34,
    "g": 133,
    "b": 55
  },
  "hsl": {
    "h": 132.727,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54312,
    "c": 0.14557,
    "h": 146.7
  },
  "luminance": 0.17391
}

Semantic roles & 50–950 ramp

primary
#228537
secondary
#B64D9F
accent
#45C1E2
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #228537

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

Preview Lab → · Contrast checker → · Palette generator →

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