#228F24#228F24

#228F24 is a mid, vivid green. Relative luminance 0.201; OKLCH L 56.9% C 0.172 H 143.1°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#228F24
RGBrgb(34, 143, 36)
HSLhsl(121, 62%, 35%)
HSVhsv(121, 76%, 56%)
CMYKcmyk(76.2%, 0%, 74.8%, 43.9%)
CIE-LABlab(51.96, -50.77, 45.65)
CIE-LCHlch(51.96, 68.27, 138.04°)
OKLaboklab(56.92% -0.1377 0.1034)
OKLCHoklch(56.92% 0.172 143.1)
XYZxyz(10.7999, 20.1111, 4.9814)
Luminance0.2011 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228F24 #8F228D
analogous
#578F22 #228F24 #228F5B
triadic
#228F24 #24228F #8F2422
tetradic
#228F24 #22578F #8F228D #8F5B22
square
#228F24 #22578F #8F228D #8F5B22
split-complementary
#228F24 #5B228F #8F2257
monochromatic
#0A2C0B #165E18 #228F24 #2EC030 #55D757

Accessibility & contrast

On white

4.18
#228F24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#228F24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228F24
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228F24#FFFFFF#000000##000000
##228F241.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928110
Deuteranopia (green-blind)
#86792F
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #228f24;
/* rgb */ color: rgb(34, 143, 36);
/* oklch */ color: oklch(56.9% 0.172 143.1);
Tailwind
colors: {
  custom: {
    50: '#70b166',
    500: '#228f24',
    950: '#000000',
  },
}
SCSS
$custom: #228f24;
$custom-light: #70b166;
$custom-dark: #000000;
JSON
{
  "hex": "#228f24",
  "rgb": {
    "r": 34,
    "g": 143,
    "b": 36
  },
  "hsl": {
    "h": 121.101,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56922,
    "c": 0.17221,
    "h": 143.1
  },
  "luminance": 0.20112
}

Semantic roles & 50–950 ramp

primary
#228F24
secondary
#BA52B8
accent
#43E2E5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #228F24

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

Preview Lab → · Contrast checker → · Palette generator →

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