#228546#228546

#228546 is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.5% C 0.132 H 151.0°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#228546
RGBrgb(34, 133, 70)
HSLhsl(142, 59%, 33%)
HSVhsv(142, 74%, 52%)
CMYKcmyk(74.4%, 0%, 47.4%, 47.8%)
CIE-LABlab(48.95, -42.74, 26.02)
CIE-LCHlch(48.95, 50.04, 148.66°)
OKLaboklab(54.55% -0.115 0.0638)
OKLCHoklch(54.55% 0.132 151)
XYZxyz(10.1519, 17.5562, 8.6468)
Luminance0.1756 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228546 #852261
analogous
#308522 #228546 #228577
triadic
#228546 #462285 #854622
tetradic
#228546 #223085 #852261 #857722
square
#228546 #223085 #852261 #857722
split-complementary
#228546 #772285 #852230
monochromatic
#092413 #16542C #228546 #2EB660 #4FD27F

Accessibility & contrast

On white

4.65
#228546 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#228546 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #228546
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228546#FFFFFF#000000##FFFFFF
##2285461.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867941
Deuteranopia (green-blind)
#7A714A
Tritanopia (blue-blind)
#008376
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #228546;
/* rgb */ color: rgb(34, 133, 70);
/* oklch */ color: oklch(54.5% 0.132 151.0);
Tailwind
colors: {
  custom: {
    50: '#6ca97a',
    500: '#228546',
    950: '#000000',
  },
}
SCSS
$custom: #228546;
$custom-light: #6ca97a;
$custom-dark: #000000;
JSON
{
  "hex": "#228546",
  "rgb": {
    "r": 34,
    "g": 133,
    "b": 70
  },
  "hsl": {
    "h": 141.818,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54549,
    "c": 0.13153,
    "h": 151
  },
  "luminance": 0.17557
}

Semantic roles & 50–950 ramp

primary
#228546
secondary
#B64D90
accent
#45A9E2
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #228546

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

Preview Lab → · Contrast checker → · Palette generator →

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