#228246#228246

#228246 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.7% C 0.127 H 151.5°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#228246
RGBrgb(34, 130, 70)
HSLhsl(143, 59%, 32%)
HSVhsv(143, 74%, 51%)
CMYKcmyk(73.8%, 0%, 46.2%, 49%)
CIE-LABlab(47.94, -41.56, 24.72)
CIE-LCHlch(47.94, 48.36, 149.26°)
OKLaboklab(53.71% -0.1119 0.0608)
OKLCHoklch(53.71% 0.127 151.5)
XYZxyz(9.7470, 16.7464, 8.5119)
Luminance0.1675 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228246 #82225E
analogous
#2E8222 #228246 #228276
triadic
#228246 #462282 #824622
tetradic
#228246 #222E82 #82225E #827622
square
#228246 #222E82 #82225E #827622
split-complementary
#228246 #762282 #82222E
monochromatic
#092112 #15512C #228246 #2FB360 #4ED17F

Accessibility & contrast

On white

4.83
#228246 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#228246 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228246
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228246#FFFFFF#000000##FFFFFF
##2282461.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827741
Deuteranopia (green-blind)
#776F4A
Tritanopia (blue-blind)
#008073
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #228246;
/* rgb */ color: rgb(34, 130, 70);
/* oklch */ color: oklch(53.7% 0.127 151.5);
Tailwind
colors: {
  custom: {
    50: '#6ca77a',
    500: '#228246',
    950: '#000000',
  },
}
SCSS
$custom: #228246;
$custom-light: #6ca77a;
$custom-dark: #000000;
JSON
{
  "hex": "#228246",
  "rgb": {
    "r": 34,
    "g": 130,
    "b": 70
  },
  "hsl": {
    "h": 142.5,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53712,
    "c": 0.12736,
    "h": 151.5
  },
  "luminance": 0.16748
}

Semantic roles & 50–950 ramp

primary
#228246
secondary
#B44C8D
accent
#46A7E2
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #228246

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

Preview Lab → · Contrast checker → · Palette generator →

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