#228946#228946

#228946 is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.7% C 0.137 H 150.4°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#228946
RGBrgb(34, 137, 70)
HSLhsl(141, 60%, 34%)
HSVhsv(141, 75%, 54%)
CMYKcmyk(75.2%, 0%, 48.9%, 46.3%)
CIE-LABlab(50.30, -44.28, 27.73)
CIE-LCHlch(50.30, 52.25, 147.94°)
OKLaboklab(55.66% -0.1191 0.0677)
OKLCHoklch(55.66% 0.137 150.4)
XYZxyz(10.7099, 18.6724, 8.8329)
Luminance0.1867 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228946 #892265
analogous
#318922 #228946 #228979
triadic
#228946 #462289 #894622
tetradic
#228946 #223189 #892265 #897922
square
#228946 #223189 #892265 #897922
split-complementary
#228946 #792289 #892231
monochromatic
#0A2714 #16582D #228946 #2EBA5F #51D47F

Accessibility & contrast

On white

4.44
#228946 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#228946 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228946
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228946#FFFFFF#000000##000000
##2289461.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7D41
Deuteranopia (green-blind)
#7E744B
Tritanopia (blue-blind)
#008779
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #228946;
/* rgb */ color: rgb(34, 137, 70);
/* oklch */ color: oklch(55.7% 0.137 150.4);
Tailwind
colors: {
  custom: {
    50: '#6dac7a',
    500: '#228946',
    950: '#000000',
  },
}
SCSS
$custom: #228946;
$custom-light: #6dac7a;
$custom-dark: #000000;
JSON
{
  "hex": "#228946",
  "rgb": {
    "r": 34,
    "g": 137,
    "b": 70
  },
  "hsl": {
    "h": 140.971,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55663,
    "c": 0.13702,
    "h": 150.4
  },
  "luminance": 0.18674
}

Semantic roles & 50–950 ramp

primary
#228946
secondary
#B84F93
accent
#44ACE3
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #228946

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

Preview Lab → · Contrast checker → · Palette generator →

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