#228641#228641

#228641 is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.7% C 0.138 H 149.2°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#228641
RGBrgb(34, 134, 65)
HSLhsl(139, 60%, 33%)
HSVhsv(139, 75%, 53%)
CMYKcmyk(74.6%, 0%, 51.5%, 47.5%)
CIE-LABlab(49.22, -43.98, 29.04)
CIE-LCHlch(49.22, 52.71, 146.56°)
OKLaboklab(54.74% -0.1183 0.0704)
OKLCHoklch(54.74% 0.138 149.2)
XYZxyz(10.1381, 17.7708, 7.8958)
Luminance0.1777 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228641 #862267
analogous
#358622 #228641 #228673
triadic
#228641 #412286 #864122
tetradic
#228641 #223586 #862267 #867322
square
#228641 #223586 #862267 #867322
split-complementary
#228641 #732286 #862235
monochromatic
#092412 #165529 #228641 #2EB759 #50D378

Accessibility & contrast

On white

4.61
#228641 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#228641 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #228641
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228641#FFFFFF#000000##FFFFFF
##2286411.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877A3B
Deuteranopia (green-blind)
#7B7246
Tritanopia (blue-blind)
#008376
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #228641;
/* rgb */ color: rgb(34, 134, 65);
/* oklch */ color: oklch(54.7% 0.138 149.2);
Tailwind
colors: {
  custom: {
    50: '#6daa77',
    500: '#228641',
    950: '#000000',
  },
}
SCSS
$custom: #228641;
$custom-light: #6daa77;
$custom-dark: #000000;
JSON
{
  "hex": "#228641",
  "rgb": {
    "r": 34,
    "g": 134,
    "b": 65
  },
  "hsl": {
    "h": 138.6,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54743,
    "c": 0.13771,
    "h": 149.2
  },
  "luminance": 0.17772
}

Semantic roles & 50–950 ramp

primary
#228641
secondary
#B64E96
accent
#45B2E3
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #228641

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

Preview Lab → · Contrast checker → · Palette generator →

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