#228341#228341

#228341 is a mid, vivid green. Relative luminance 0.170; OKLCH L 53.9% C 0.134 H 149.6°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#228341
RGBrgb(34, 131, 65)
HSLhsl(139, 59%, 32%)
HSVhsv(139, 74%, 51%)
CMYKcmyk(74%, 0%, 50.4%, 48.6%)
CIE-LABlab(48.20, -42.84, 27.77)
CIE-LCHlch(48.20, 51.05, 147.04°)
OKLaboklab(53.9% -0.1153 0.0676)
OKLCHoklch(53.9% 0.134 149.6)
XYZxyz(9.7293, 16.9532, 7.7595)
Luminance0.1695 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228341 #832264
analogous
#348322 #228341 #228371
triadic
#228341 #412283 #834122
tetradic
#228341 #223483 #832264 #837122
square
#228341 #223483 #832264 #837122
split-complementary
#228341 #712283 #832234
monochromatic
#092211 #155229 #228341 #2FB459 #4ED178

Accessibility & contrast

On white

4.78
#228341 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#228341 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228341
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228341#FFFFFF#000000##FFFFFF
##2283411.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84773C
Deuteranopia (green-blind)
#786F46
Tritanopia (blue-blind)
#008174
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #228341;
/* rgb */ color: rgb(34, 131, 65);
/* oklch */ color: oklch(53.9% 0.134 149.6);
Tailwind
colors: {
  custom: {
    50: '#6ca877',
    500: '#228341',
    950: '#000000',
  },
}
SCSS
$custom: #228341;
$custom-light: #6ca877;
$custom-dark: #000000;
JSON
{
  "hex": "#228341",
  "rgb": {
    "r": 34,
    "g": 131,
    "b": 65
  },
  "hsl": {
    "h": 139.175,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53903,
    "c": 0.13362,
    "h": 149.6
  },
  "luminance": 0.16954
}

Semantic roles & 50–950 ramp

primary
#228341
secondary
#B44C93
accent
#46B0E2
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081009
muted
#7A7F7B

Preview Lab

Preview with #228341

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

Preview Lab → · Contrast checker → · Palette generator →

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