#228046#228046

#228046 is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.2% C 0.125 H 151.8°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#228046
RGBrgb(34, 128, 70)
HSLhsl(143, 58%, 32%)
HSVhsv(143, 73%, 50%)
CMYKcmyk(73.4%, 0%, 45.3%, 49.8%)
CIE-LABlab(47.26, -40.77, 23.85)
CIE-LCHlch(47.26, 47.23, 149.67°)
OKLaboklab(53.15% -0.1098 0.0588)
OKLCHoklch(53.15% 0.125 151.8)
XYZxyz(9.4835, 16.2196, 8.4240)
Luminance0.1622 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228046 #80225C
analogous
#2D8022 #228046 #228075
triadic
#228046 #462280 #804622
tetradic
#228046 #222D80 #80225C #807522
square
#228046 #222D80 #80225C #807522
split-complementary
#228046 #752280 #80222D
monochromatic
#081F11 #15502C #228046 #2FB060 #4DD07F

Accessibility & contrast

On white

4.95
#228046 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#228046 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228046
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228046#FFFFFF#000000##FFFFFF
##2280461.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807542
Deuteranopia (green-blind)
#756D4A
Tritanopia (blue-blind)
#007E72
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #228046;
/* rgb */ color: rgb(34, 128, 70);
/* oklch */ color: oklch(53.2% 0.125 151.8);
Tailwind
colors: {
  custom: {
    50: '#6ba67a',
    500: '#228046',
    950: '#000000',
  },
}
SCSS
$custom: #228046;
$custom-light: #6ba67a;
$custom-dark: #000000;
JSON
{
  "hex": "#228046",
  "rgb": {
    "r": 34,
    "g": 128,
    "b": 70
  },
  "hsl": {
    "h": 142.979,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53152,
    "c": 0.12456,
    "h": 151.8
  },
  "luminance": 0.16221
}

Semantic roles & 50–950 ramp

primary
#228046
secondary
#B24B8B
accent
#47A6E1
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #228046

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

Preview Lab → · Contrast checker → · Palette generator →

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