#228F4D#228F4D

#228F4D is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.4% C 0.138 H 151.7°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#228F4D
RGBrgb(34, 143, 77)
HSLhsl(144, 62%, 35%)
HSVhsv(144, 76%, 56%)
CMYKcmyk(76.2%, 0%, 46.2%, 43.9%)
CIE-LABlab(52.42, -45.33, 26.67)
CIE-LCHlch(52.42, 52.60, 149.53°)
OKLaboklab(57.45% -0.1219 0.0656)
OKLCHoklch(57.45% 0.138 151.7)
XYZxyz(11.8207, 20.5194, 10.3574)
Luminance0.2052 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228F4D #8F2264
analogous
#2D8F22 #228F4D #228F84
triadic
#228F4D #4D228F #8F4D22
tetradic
#228F4D #222D8F #8F2264 #8F8422
square
#228F4D #222D8F #8F2264 #8F8422
split-complementary
#228F4D #84228F #8F222D
monochromatic
#0A2C18 #165E32 #228F4D #2EC068 #55D788

Accessibility & contrast

On white

4.11
#228F4D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#228F4D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228F4D
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228F4D#FFFFFF#000000##000000
##228F4D1.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8348
Deuteranopia (green-blind)
#837952
Tritanopia (blue-blind)
#008D7F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #228f4d;
/* rgb */ color: rgb(34, 143, 77);
/* oklch */ color: oklch(57.4% 0.138 151.7);
Tailwind
colors: {
  custom: {
    50: '#6fb180',
    500: '#228f4d',
    950: '#000000',
  },
}
SCSS
$custom: #228f4d;
$custom-light: #6fb180;
$custom-dark: #000000;
JSON
{
  "hex": "#228f4d",
  "rgb": {
    "r": 34,
    "g": 143,
    "b": 77
  },
  "hsl": {
    "h": 143.67,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57449,
    "c": 0.13846,
    "h": 151.7
  },
  "luminance": 0.20521
}

Semantic roles & 50–950 ramp

primary
#228F4D
secondary
#BA5291
accent
#43A5E5
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#08110A
muted
#7B807C

Preview Lab

Preview with #228F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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