#228646#228646

#228646 is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.8% C 0.133 H 150.8°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#228646
RGBrgb(34, 134, 70)
HSLhsl(142, 60%, 33%)
HSVhsv(142, 75%, 53%)
CMYKcmyk(74.6%, 0%, 47.8%, 47.5%)
CIE-LABlab(49.29, -43.13, 26.45)
CIE-LCHlch(49.29, 50.59, 148.48°)
OKLaboklab(54.83% -0.116 0.0648)
OKLCHoklch(54.83% 0.133 150.8)
XYZxyz(10.2894, 17.8313, 8.6927)
Luminance0.1783 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228646 #862262
analogous
#308622 #228646 #228678
triadic
#228646 #462286 #864622
tetradic
#228646 #223086 #862262 #867822
square
#228646 #223086 #862262 #867822
split-complementary
#228646 #782286 #862230
monochromatic
#092413 #16552C #228646 #2EB75F #50D37F

Accessibility & contrast

On white

4.60
#228646 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#228646 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #228646
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228646#FFFFFF#000000##FFFFFF
##2286461.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877A41
Deuteranopia (green-blind)
#7B724A
Tritanopia (blue-blind)
#008477
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #228646;
/* rgb */ color: rgb(34, 134, 70);
/* oklch */ color: oklch(54.8% 0.133 150.8);
Tailwind
colors: {
  custom: {
    50: '#6daa7a',
    500: '#228646',
    950: '#000000',
  },
}
SCSS
$custom: #228646;
$custom-light: #6daa7a;
$custom-dark: #000000;
JSON
{
  "hex": "#228646",
  "rgb": {
    "r": 34,
    "g": 134,
    "b": 70
  },
  "hsl": {
    "h": 141.6,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54828,
    "c": 0.13291,
    "h": 150.8
  },
  "luminance": 0.17832
}

Semantic roles & 50–950 ramp

primary
#228646
secondary
#B64E90
accent
#45AAE3
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #228646

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

Preview Lab → · Contrast checker → · Palette generator →

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