#228942#228942

#228942 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.6% C 0.141 H 149.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#228942
RGBrgb(34, 137, 66)
HSLhsl(139, 60%, 34%)
HSVhsv(139, 75%, 54%)
CMYKcmyk(75.2%, 0%, 51.8%, 46.3%)
CIE-LABlab(50.24, -44.95, 29.79)
CIE-LCHlch(50.24, 53.93, 146.47°)
OKLaboklab(55.6% -0.1209 0.0722)
OKLCHoklch(55.6% 0.141 149.2)
XYZxyz(10.5879, 18.6235, 8.1899)
Luminance0.1862 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228942 #892269
analogous
#358922 #228942 #228975
triadic
#228942 #422289 #894222
tetradic
#228942 #223589 #892269 #897522
square
#228942 #223589 #892269 #897522
split-complementary
#228942 #752289 #892235
monochromatic
#0A2713 #16582A #228942 #2EBA5A #51D47A

Accessibility & contrast

On white

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

On black

4.72
#228942 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228942
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228942#FFFFFF#000000##000000
##2289421.004.444.724.72
#FFFFFF4.441.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7D3C
Deuteranopia (green-blind)
#7E7447
Tritanopia (blue-blind)
#008679
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #228942;
/* rgb */ color: rgb(34, 137, 66);
/* oklch */ color: oklch(55.6% 0.141 149.2);
Tailwind
colors: {
  custom: {
    50: '#6dac78',
    500: '#228942',
    950: '#000000',
  },
}
SCSS
$custom: #228942;
$custom-light: #6dac78;
$custom-dark: #000000;
JSON
{
  "hex": "#228942",
  "rgb": {
    "r": 34,
    "g": 137,
    "b": 66
  },
  "hsl": {
    "h": 138.641,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55597,
    "c": 0.14082,
    "h": 149.2
  },
  "luminance": 0.18625
}

Semantic roles & 50–950 ramp

primary
#228942
secondary
#B84F97
accent
#44B2E3
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #228942

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

Preview Lab → · Contrast checker → · Palette generator →

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