#228541#228541

#228541 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.5% C 0.136 H 149.4°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#228541
RGBrgb(34, 133, 65)
HSLhsl(139, 59%, 33%)
HSVhsv(139, 74%, 52%)
CMYKcmyk(74.4%, 0%, 51.1%, 47.8%)
CIE-LABlab(48.88, -43.60, 28.62)
CIE-LCHlch(48.88, 52.16, 146.72°)
OKLaboklab(54.46% -0.1173 0.0695)
OKLCHoklch(54.46% 0.136 149.4)
XYZxyz(10.0005, 17.4957, 7.8500)
Luminance0.1750 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228541 #852266
analogous
#348522 #228541 #228572
triadic
#228541 #412285 #854122
tetradic
#228541 #223485 #852266 #857222
square
#228541 #223485 #852266 #857222
split-complementary
#228541 #722285 #852234
monochromatic
#092411 #165429 #228541 #2EB659 #4FD278

Accessibility & contrast

On white

4.67
#228541 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#228541 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #228541
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228541#FFFFFF#000000##FFFFFF
##2285411.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86793B
Deuteranopia (green-blind)
#7A7146
Tritanopia (blue-blind)
#008275
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #228541;
/* rgb */ color: rgb(34, 133, 65);
/* oklch */ color: oklch(54.5% 0.136 149.4);
Tailwind
colors: {
  custom: {
    50: '#6ca977',
    500: '#228541',
    950: '#000000',
  },
}
SCSS
$custom: #228541;
$custom-light: #6ca977;
$custom-dark: #000000;
JSON
{
  "hex": "#228541",
  "rgb": {
    "r": 34,
    "g": 133,
    "b": 65
  },
  "hsl": {
    "h": 138.788,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54463,
    "c": 0.13635,
    "h": 149.4
  },
  "luminance": 0.17497
}

Semantic roles & 50–950 ramp

primary
#228541
secondary
#B64D95
accent
#45B1E2
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #228541

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

Preview Lab → · Contrast checker → · Palette generator →

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