#228638#228638

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

Color values

HEX#228638
RGBrgb(34, 134, 56)
HSLhsl(133, 60%, 33%)
HSVhsv(133, 75%, 53%)
CMYKcmyk(74.6%, 0%, 58.2%, 47.5%)
CIE-LABlab(49.10, -45.36, 33.55)
CIE-LCHlch(49.10, 56.42, 143.51°)
OKLaboklab(54.61% -0.1222 0.0799)
OKLCHoklch(54.61% 0.146 146.8)
XYZxyz(9.8979, 17.6747, 6.6305)
Luminance0.1768 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228638 #862270
analogous
#3E8622 #228638 #22866A
triadic
#228638 #382286 #863822
tetradic
#228638 #223E86 #862270 #866A22
square
#228638 #223E86 #862270 #866A22
split-complementary
#228638 #6A2286 #86223E
monochromatic
#09240F #165524 #228638 #2EB74C #50D36D

Accessibility & contrast

On white

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

On black

4.54
#228638 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##228638#FFFFFF#000000##FFFFFF
##2286381.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #228638;
/* rgb */ color: rgb(34, 134, 56);
/* oklch */ color: oklch(54.6% 0.146 146.8);
Tailwind
colors: {
  custom: {
    50: '#6daa71',
    500: '#228638',
    950: '#000000',
  },
}
SCSS
$custom: #228638;
$custom-light: #6daa71;
$custom-dark: #000000;
JSON
{
  "hex": "#228638",
  "rgb": {
    "r": 34,
    "g": 134,
    "b": 56
  },
  "hsl": {
    "h": 133.2,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54607,
    "c": 0.14599,
    "h": 146.8
  },
  "luminance": 0.17676
}

Semantic roles & 50–950 ramp

primary
#228638
secondary
#B64E9F
accent
#45C0E3
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #228638

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

Preview Lab → · Contrast checker → · Palette generator →

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