#228F36#228F36

#228F36 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.1% C 0.159 H 145.8°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#228F36
RGBrgb(34, 143, 54)
HSLhsl(131, 62%, 35%)
HSVhsv(131, 76%, 56%)
CMYKcmyk(76.2%, 0%, 62.2%, 43.9%)
CIE-LABlab(52.12, -48.87, 38.06)
CIE-LCHlch(52.12, 61.94, 142.09°)
OKLaboklab(57.1% -0.1318 0.0895)
OKLCHoklch(57.1% 0.159 145.8)
XYZxyz(11.1472, 20.2501, 6.8105)
Luminance0.2025 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228F36 #8F227B
analogous
#458F22 #228F36 #228F6D
triadic
#228F36 #36228F #8F3622
tetradic
#228F36 #22458F #8F227B #8F6D22
square
#228F36 #22458F #8F227B #8F6D22
split-complementary
#228F36 #6D228F #8F2245
monochromatic
#0A2C11 #165E23 #228F36 #2EC049 #55D76D

Accessibility & contrast

On white

4.16
#228F36 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#228F36 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228F36
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228F36#FFFFFF#000000##000000
##228F361.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#91822C
Deuteranopia (green-blind)
#85793D
Tritanopia (blue-blind)
#008B7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #228f36;
/* rgb */ color: rgb(34, 143, 54);
/* oklch */ color: oklch(57.1% 0.159 145.8);
Tailwind
colors: {
  custom: {
    50: '#6fb170',
    500: '#228f36',
    950: '#000000',
  },
}
SCSS
$custom: #228f36;
$custom-light: #6fb170;
$custom-dark: #000000;
JSON
{
  "hex": "#228f36",
  "rgb": {
    "r": 34,
    "g": 143,
    "b": 54
  },
  "hsl": {
    "h": 131.009,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57102,
    "c": 0.15925,
    "h": 145.8
  },
  "luminance": 0.20251
}

Semantic roles & 50–950 ramp

primary
#228F36
secondary
#BA52A7
accent
#43C7E5
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091108
muted
#7B807B

Preview Lab

Preview with #228F36

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

Preview Lab → · Contrast checker → · Palette generator →

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