#228241#228241

#228241 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.6% C 0.132 H 149.8°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#228241
RGBrgb(34, 130, 65)
HSLhsl(139, 59%, 32%)
HSVhsv(139, 74%, 51%)
CMYKcmyk(73.8%, 0%, 50%, 49%)
CIE-LABlab(47.86, -42.45, 27.35)
CIE-LCHlch(47.86, 50.49, 147.21°)
OKLaboklab(53.62% -0.1142 0.0666)
OKLCHoklch(53.62% 0.132 149.8)
XYZxyz(9.5957, 16.6859, 7.7150)
Luminance0.1669 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228241 #822263
analogous
#338222 #228241 #228271
triadic
#228241 #412282 #824122
tetradic
#228241 #223382 #822263 #827122
square
#228241 #223382 #822263 #827122
split-complementary
#228241 #712282 #822233
monochromatic
#092110 #155129 #228241 #2FB359 #4ED178

Accessibility & contrast

On white

4.84
#228241 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#228241 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228241
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228241#FFFFFF#000000##FFFFFF
##2282411.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83763C
Deuteranopia (green-blind)
#776E46
Tritanopia (blue-blind)
#008073
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #228241;
/* rgb */ color: rgb(34, 130, 65);
/* oklch */ color: oklch(53.6% 0.132 149.8);
Tailwind
colors: {
  custom: {
    50: '#6ca777',
    500: '#228241',
    950: '#000000',
  },
}
SCSS
$custom: #228241;
$custom-light: #6ca777;
$custom-dark: #000000;
JSON
{
  "hex": "#228241",
  "rgb": {
    "r": 34,
    "g": 130,
    "b": 65
  },
  "hsl": {
    "h": 139.375,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53623,
    "c": 0.13224,
    "h": 149.8
  },
  "luminance": 0.16687
}

Semantic roles & 50–950 ramp

primary
#228241
secondary
#B44C92
accent
#46AFE2
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081008
muted
#7A7F7B

Preview Lab

Preview with #228241

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

Preview Lab → · Contrast checker → · Palette generator →

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