#228C4F#228C4F

#228C4F is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.7% C 0.132 H 153.0°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#228C4F
RGBrgb(34, 140, 79)
HSLhsl(145, 61%, 34%)
HSVhsv(145, 76%, 55%)
CMYKcmyk(75.7%, 0%, 43.6%, 45.1%)
CIE-LABlab(51.45, -43.81, 24.33)
CIE-LCHlch(51.45, 50.11, 150.96°)
OKLaboklab(56.66% -0.118 0.0602)
OKLCHoklch(56.66% 0.132 153)
XYZxyz(11.4480, 19.6594, 10.5869)
Luminance0.1966 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228C4F #8C225F
analogous
#2A8C22 #228C4F #228C84
triadic
#228C4F #4F228C #8C4F22
tetradic
#228C4F #222A8C #8C225F #8C8422
square
#228C4F #222A8C #8C225F #8C8422
split-complementary
#228C4F #84228C #8C222A
monochromatic
#0A2A17 #165B33 #228C4F #2EBD6B #53D58A

Accessibility & contrast

On white

4.26
#228C4F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#228C4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228C4F
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228C4F#FFFFFF#000000##000000
##228C4F1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C804B
Deuteranopia (green-blind)
#7F7753
Tritanopia (blue-blind)
#008A7D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #228c4f;
/* rgb */ color: rgb(34, 140, 79);
/* oklch */ color: oklch(56.7% 0.132 153.0);
Tailwind
colors: {
  custom: {
    50: '#6eae81',
    500: '#228c4f',
    950: '#000000',
  },
}
SCSS
$custom: #228c4f;
$custom-light: #6eae81;
$custom-dark: #000000;
JSON
{
  "hex": "#228c4f",
  "rgb": {
    "r": 34,
    "g": 140,
    "b": 79
  },
  "hsl": {
    "h": 145.472,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56658,
    "c": 0.13243,
    "h": 153
  },
  "luminance": 0.19661
}

Semantic roles & 50–950 ramp

primary
#228C4F
secondary
#B9518D
accent
#44A0E4
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #228C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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