#228C2B#228C2B

#228C2B is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.1% C 0.164 H 144.1°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#228C2B
RGBrgb(34, 140, 43)
HSLhsl(125, 61%, 34%)
HSVhsv(125, 76%, 55%)
CMYKcmyk(75.7%, 0%, 69.3%, 45.1%)
CIE-LABlab(51.00, -49.09, 41.80)
CIE-LCHlch(51.00, 64.48, 139.59°)
OKLaboklab(56.14% -0.1328 0.0963)
OKLCHoklch(56.14% 0.164 144.1)
XYZxyz(10.4731, 19.2695, 5.4525)
Luminance0.1927 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228C2B #8C2283
analogous
#4E8C22 #228C2B #228C60
triadic
#228C2B #2B228C #8C2B22
tetradic
#228C2B #224E8C #8C2283 #8C6022
square
#228C2B #224E8C #8C2283 #8C6022
split-complementary
#228C2B #60228C #8C224E
monochromatic
#0A2A0D #165B1C #228C2B #2EBD3A #53D55E

Accessibility & contrast

On white

4.33
#228C2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#228C2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228C2B
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228C2B#FFFFFF#000000##000000
##228C2B1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #228c2b;
/* rgb */ color: rgb(34, 140, 43);
/* oklch */ color: oklch(56.1% 0.164 144.1);
Tailwind
colors: {
  custom: {
    50: '#6faf69',
    500: '#228c2b',
    950: '#000000',
  },
}
SCSS
$custom: #228c2b;
$custom-light: #6faf69;
$custom-dark: #000000;
JSON
{
  "hex": "#228c2b",
  "rgb": {
    "r": 34,
    "g": 140,
    "b": 43
  },
  "hsl": {
    "h": 125.094,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56141,
    "c": 0.16403,
    "h": 144.1
  },
  "luminance": 0.19271
}

Semantic roles & 50–950 ramp

primary
#228C2B
secondary
#B951B0
accent
#44D6E4
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #228C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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