#228237#228237

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

Color values

HEX#228237
RGBrgb(34, 130, 55)
HSLhsl(133, 59%, 32%)
HSVhsv(133, 74%, 51%)
CMYKcmyk(73.8%, 0%, 57.7%, 49%)
CIE-LABlab(47.73, -44.02, 32.43)
CIE-LCHlch(47.73, 54.68, 143.63°)
OKLaboklab(53.47% -0.1186 0.0773)
OKLCHoklch(53.47% 0.142 146.9)
XYZxyz(9.3312, 16.5801, 6.3222)
Luminance0.1658 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228237 #82226D
analogous
#3D8222 #228237 #228267
triadic
#228237 #372282 #823722
tetradic
#228237 #223D82 #82226D #826722
square
#228237 #223D82 #82226D #826722
split-complementary
#228237 #672282 #82223D
monochromatic
#09210E #155122 #228237 #2FB34C #4ED16A

Accessibility & contrast

On white

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

On black

4.32
#228237 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##228237#FFFFFF#000000##FFFFFF
##2282371.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847630
Deuteranopia (green-blind)
#786E3D
Tritanopia (blue-blind)
#007F71
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #228237;
/* rgb */ color: rgb(34, 130, 55);
/* oklch */ color: oklch(53.5% 0.142 146.9);
Tailwind
colors: {
  custom: {
    50: '#6ca770',
    500: '#228237',
    950: '#000000',
  },
}
SCSS
$custom: #228237;
$custom-light: #6ca770;
$custom-dark: #000000;
JSON
{
  "hex": "#228237",
  "rgb": {
    "r": 34,
    "g": 130,
    "b": 55
  },
  "hsl": {
    "h": 133.125,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53467,
    "c": 0.14161,
    "h": 146.9
  },
  "luminance": 0.16581
}

Semantic roles & 50–950 ramp

primary
#228237
secondary
#B44C9D
accent
#46C0E2
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#081007
muted
#7A7F7A

Preview Lab

Preview with #228237

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

Preview Lab → · Contrast checker → · Palette generator →

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