#228C3D#228C3D

#228C3D is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.4% C 0.149 H 147.5°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#228C3D
RGBrgb(34, 140, 61)
HSLhsl(135, 61%, 34%)
HSVhsv(135, 76%, 55%)
CMYKcmyk(75.7%, 0%, 56.4%, 45.1%)
CIE-LABlab(51.19, -46.84, 33.53)
CIE-LCHlch(51.19, 57.60, 144.41°)
OKLaboklab(56.36% -0.1261 0.0802)
OKLCHoklch(56.36% 0.149 147.5)
XYZxyz(10.8792, 19.4319, 7.5913)
Luminance0.1943 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228C3D #8C2271
analogous
#3C8C22 #228C3D #228C72
triadic
#228C3D #3D228C #8C3D22
tetradic
#228C3D #223C8C #8C2271 #8C7222
square
#228C3D #223C8C #8C2271 #8C7222
split-complementary
#228C3D #72228C #8C223C
monochromatic
#0A2A12 #165B28 #228C3D #2EBD52 #53D574

Accessibility & contrast

On white

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

On black

4.89
#228C3D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228C3D
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228C3D#FFFFFF#000000##000000
##228C3D1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #228c3d;
/* rgb */ color: rgb(34, 140, 61);
/* oklch */ color: oklch(56.4% 0.149 147.5);
Tailwind
colors: {
  custom: {
    50: '#6eaf75',
    500: '#228c3d',
    950: '#000000',
  },
}
SCSS
$custom: #228c3d;
$custom-light: #6eaf75;
$custom-dark: #000000;
JSON
{
  "hex": "#228c3d",
  "rgb": {
    "r": 34,
    "g": 140,
    "b": 61
  },
  "hsl": {
    "h": 135.283,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56357,
    "c": 0.1494,
    "h": 147.5
  },
  "luminance": 0.19433
}

Semantic roles & 50–950 ramp

primary
#228C3D
secondary
#B9519E
accent
#44BBE4
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #228C3D

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

Preview Lab → · Contrast checker → · Palette generator →

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