#228346#228346

#228346 is a mid, vivid green. Relative luminance 0.170; OKLCH L 54.0% C 0.129 H 151.3°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#228346
RGBrgb(34, 131, 70)
HSLhsl(142, 59%, 32%)
HSVhsv(142, 74%, 51%)
CMYKcmyk(74%, 0%, 46.6%, 48.6%)
CIE-LABlab(48.28, -41.96, 25.16)
CIE-LCHlch(48.28, 48.92, 149.05°)
OKLaboklab(53.99% -0.1129 0.0618)
OKLCHoklch(53.99% 0.129 151.3)
XYZxyz(9.8806, 17.0138, 8.5564)
Luminance0.1701 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228346 #83225F
analogous
#2F8322 #228346 #228377
triadic
#228346 #462283 #834622
tetradic
#228346 #222F83 #83225F #837722
square
#228346 #222F83 #83225F #837722
split-complementary
#228346 #772283 #83222F
monochromatic
#092212 #15522C #228346 #2FB460 #4ED17F

Accessibility & contrast

On white

4.77
#228346 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#228346 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228346
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228346#FFFFFF#000000##FFFFFF
##2283461.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837841
Deuteranopia (green-blind)
#786F4A
Tritanopia (blue-blind)
#008174
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #228346;
/* rgb */ color: rgb(34, 131, 70);
/* oklch */ color: oklch(54.0% 0.129 151.3);
Tailwind
colors: {
  custom: {
    50: '#6ca87a',
    500: '#228346',
    950: '#000000',
  },
}
SCSS
$custom: #228346;
$custom-light: #6ca87a;
$custom-dark: #000000;
JSON
{
  "hex": "#228346",
  "rgb": {
    "r": 34,
    "g": 131,
    "b": 70
  },
  "hsl": {
    "h": 142.268,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53991,
    "c": 0.12876,
    "h": 151.3
  },
  "luminance": 0.17015
}

Semantic roles & 50–950 ramp

primary
#228346
secondary
#B44C8E
accent
#46A8E2
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081009
muted
#7A7F7B

Preview Lab

Preview with #228346

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

Preview Lab → · Contrast checker → · Palette generator →

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