#228C3A#228C3A

#228C3A is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.3% C 0.152 H 146.8°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#228C3A
RGBrgb(34, 140, 58)
HSLhsl(134, 61%, 34%)
HSVhsv(134, 76%, 55%)
CMYKcmyk(75.7%, 0%, 58.6%, 45.1%)
CIE-LABlab(51.15, -47.27, 34.99)
CIE-LCHlch(51.15, 58.81, 143.49°)
OKLaboklab(56.32% -0.1273 0.0832)
OKLCHoklch(56.32% 0.152 146.8)
XYZxyz(10.8007, 19.4005, 7.1776)
Luminance0.1940 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228C3A #8C2274
analogous
#3F8C22 #228C3A #228C6F
triadic
#228C3A #3A228C #8C3A22
tetradic
#228C3A #223F8C #8C2274 #8C6F22
square
#228C3A #223F8C #8C2274 #8C6F22
split-complementary
#228C3A #6F228C #8C223F
monochromatic
#0A2A11 #165B26 #228C3A #2EBD4E #53D571

Accessibility & contrast

On white

4.30
#228C3A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#228C3A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228C3A
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228C3A#FFFFFF#000000##000000
##228C3A1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F32
Deuteranopia (green-blind)
#827741
Tritanopia (blue-blind)
#00897A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #228c3a;
/* rgb */ color: rgb(34, 140, 58);
/* oklch */ color: oklch(56.3% 0.152 146.8);
Tailwind
colors: {
  custom: {
    50: '#6eaf73',
    500: '#228c3a',
    950: '#000000',
  },
}
SCSS
$custom: #228c3a;
$custom-light: #6eaf73;
$custom-dark: #000000;
JSON
{
  "hex": "#228c3a",
  "rgb": {
    "r": 34,
    "g": 140,
    "b": 58
  },
  "hsl": {
    "h": 133.585,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56316,
    "c": 0.15205,
    "h": 146.8
  },
  "luminance": 0.19402
}

Semantic roles & 50–950 ramp

primary
#228C3A
secondary
#B951A1
accent
#44C0E4
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #228C3A

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

Preview Lab → · Contrast checker → · Palette generator →

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