#228141#228141

#228141 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.3% C 0.131 H 149.9°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#228141
RGBrgb(34, 129, 65)
HSLhsl(140, 58%, 32%)
HSVhsv(140, 74%, 51%)
CMYKcmyk(73.6%, 0%, 49.6%, 49.4%)
CIE-LABlab(47.52, -42.06, 26.92)
CIE-LCHlch(47.52, 49.94, 147.38°)
OKLaboklab(53.34% -0.1132 0.0657)
OKLCHoklch(53.34% 0.131 149.9)
XYZxyz(9.4633, 16.4212, 7.6709)
Luminance0.1642 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228141 #812262
analogous
#338122 #228141 #228171
triadic
#228141 #412281 #814122
tetradic
#228141 #223381 #812262 #817122
square
#228141 #223381 #812262 #817122
split-complementary
#228141 #712281 #812233
monochromatic
#082010 #155129 #228141 #2FB159 #4DD078

Accessibility & contrast

On white

4.90
#228141 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#228141 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228141
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228141#FFFFFF#000000##FFFFFF
##2281411.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82763C
Deuteranopia (green-blind)
#766E46
Tritanopia (blue-blind)
#007F72
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #228141;
/* rgb */ color: rgb(34, 129, 65);
/* oklch */ color: oklch(53.3% 0.131 149.9);
Tailwind
colors: {
  custom: {
    50: '#6ca677',
    500: '#228141',
    950: '#000000',
  },
}
SCSS
$custom: #228141;
$custom-light: #6ca677;
$custom-dark: #000000;
JSON
{
  "hex": "#228141",
  "rgb": {
    "r": 34,
    "g": 129,
    "b": 65
  },
  "hsl": {
    "h": 139.579,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53342,
    "c": 0.13086,
    "h": 149.9
  },
  "luminance": 0.16422
}

Semantic roles & 50–950 ramp

primary
#228141
secondary
#B34B91
accent
#46AFE1
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#080F08
muted
#7A7F7B

Preview Lab

Preview with #228141

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

Preview Lab → · Contrast checker → · Palette generator →

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