#228C2C#228C2C

#228C2C is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.2% C 0.163 H 144.2°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#228C2C
RGBrgb(34, 140, 44)
HSLhsl(126, 61%, 34%)
HSVhsv(126, 76%, 55%)
CMYKcmyk(75.7%, 0%, 68.6%, 45.1%)
CIE-LABlab(51.01, -48.98, 41.38)
CIE-LCHlch(51.01, 64.12, 139.81°)
OKLaboklab(56.15% -0.1325 0.0955)
OKLCHoklch(56.15% 0.163 144.2)
XYZxyz(10.4917, 19.2769, 5.5503)
Luminance0.1928 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228C2C #8C2282
analogous
#4D8C22 #228C2C #228C61
triadic
#228C2C #2C228C #8C2C22
tetradic
#228C2C #224D8C #8C2282 #8C6122
square
#228C2C #224D8C #8C2282 #8C6122
split-complementary
#228C2C #61228C #8C224D
monochromatic
#0A2A0D #165B1D #228C2C #2EBD3B #53D55F

Accessibility & contrast

On white

4.32
#228C2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#228C2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228C2C
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228C2C#FFFFFF#000000##000000
##228C2C1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F1F
Deuteranopia (green-blind)
#837635
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #228c2c;
/* rgb */ color: rgb(34, 140, 44);
/* oklch */ color: oklch(56.2% 0.163 144.2);
Tailwind
colors: {
  custom: {
    50: '#6faf6a',
    500: '#228c2c',
    950: '#000000',
  },
}
SCSS
$custom: #228c2c;
$custom-light: #6faf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#228c2c",
  "rgb": {
    "r": 34,
    "g": 140,
    "b": 44
  },
  "hsl": {
    "h": 125.66,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56151,
    "c": 0.16331,
    "h": 144.2
  },
  "luminance": 0.19278
}

Semantic roles & 50–950 ramp

primary
#228C2C
secondary
#B951AF
accent
#44D5E4
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #228C2C

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

Preview Lab → · Contrast checker → · Palette generator →

#228C2C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva