#228637#228637

#228637 is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.6% C 0.147 H 146.6°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#228637
RGBrgb(34, 134, 55)
HSLhsl(133, 60%, 33%)
HSVhsv(133, 75%, 53%)
CMYKcmyk(74.6%, 0%, 59%, 47.5%)
CIE-LABlab(49.09, -45.50, 34.04)
CIE-LCHlch(49.09, 56.83, 143.20°)
OKLaboklab(54.59% -0.1226 0.0809)
OKLCHoklch(54.59% 0.147 146.6)
XYZxyz(9.8737, 17.6650, 6.5030)
Luminance0.1767 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228637 #862271
analogous
#3F8622 #228637 #228669
triadic
#228637 #372286 #863722
tetradic
#228637 #223F86 #862271 #866922
square
#228637 #223F86 #862271 #866922
split-complementary
#228637 #692286 #86223F
monochromatic
#09240F #165523 #228637 #2EB74B #50D36B

Accessibility & contrast

On white

4.63
#228637 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#228637 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #228637
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228637#FFFFFF#000000##FFFFFF
##2286371.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887A2F
Deuteranopia (green-blind)
#7C713D
Tritanopia (blue-blind)
#008375
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #228637;
/* rgb */ color: rgb(34, 134, 55);
/* oklch */ color: oklch(54.6% 0.147 146.6);
Tailwind
colors: {
  custom: {
    50: '#6daa70',
    500: '#228637',
    950: '#000000',
  },
}
SCSS
$custom: #228637;
$custom-light: #6daa70;
$custom-dark: #000000;
JSON
{
  "hex": "#228637",
  "rgb": {
    "r": 34,
    "g": 134,
    "b": 55
  },
  "hsl": {
    "h": 132.6,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54593,
    "c": 0.14688,
    "h": 146.6
  },
  "luminance": 0.17666
}

Semantic roles & 50–950 ramp

primary
#228637
secondary
#B64EA0
accent
#45C2E3
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #228637

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

Preview Lab → · Contrast checker → · Palette generator →

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