#228F23#228F23

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

Color values

HEX#228F23
RGBrgb(34, 143, 35)
HSLhsl(121, 62%, 35%)
HSVhsv(121, 76%, 56%)
CMYKcmyk(76.2%, 0%, 75.5%, 43.9%)
CIE-LABlab(51.96, -50.85, 46.02)
CIE-LCHlch(51.96, 68.58, 137.86°)
OKLaboklab(56.92% -0.138 0.1041)
OKLCHoklch(56.92% 0.173 143)
XYZxyz(10.7848, 20.1051, 4.9021)
Luminance0.2011 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228F23 #8F228E
analogous
#588F22 #228F23 #228F59
triadic
#228F23 #23228F #8F2322
tetradic
#228F23 #22588F #8F228E #8F5922
square
#228F23 #22588F #8F228E #8F5922
split-complementary
#228F23 #59228F #8F2258
monochromatic
#0A2C0B #165E17 #228F23 #2EC02F #55D756

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##228F23#FFFFFF#000000##000000
##228F231.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)
#92810E
Deuteranopia (green-blind)
#86792F
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #228f23;
/* rgb */ color: rgb(34, 143, 35);
/* oklch */ color: oklch(56.9% 0.173 143.0);
Tailwind
colors: {
  custom: {
    50: '#70b165',
    500: '#228f23',
    950: '#000000',
  },
}
SCSS
$custom: #228f23;
$custom-light: #70b165;
$custom-dark: #000000;
JSON
{
  "hex": "#228f23",
  "rgb": {
    "r": 34,
    "g": 143,
    "b": 35
  },
  "hsl": {
    "h": 120.55,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56915,
    "c": 0.17282,
    "h": 143
  },
  "luminance": 0.20106
}

Semantic roles & 50–950 ramp

primary
#228F23
secondary
#BA52B9
accent
#43E3E5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #228F23

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

Preview Lab → · Contrast checker → · Palette generator →

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