#228D23#228D23

#228D23 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.4% C 0.171 H 143.0°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#228D23
RGBrgb(34, 141, 35)
HSLhsl(121, 61%, 34%)
HSVhsv(121, 76%, 55%)
CMYKcmyk(75.9%, 0%, 75.2%, 44.7%)
CIE-LABlab(51.28, -50.18, 45.33)
CIE-LCHlch(51.28, 67.62, 137.90°)
OKLaboklab(56.35% -0.1362 0.1026)
OKLCHoklch(56.35% 0.171 143)
XYZxyz(10.4873, 19.5100, 4.8029)
Luminance0.1951 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228D23 #8D228C
analogous
#578D22 #228D23 #228D59
triadic
#228D23 #23228D #8D2322
tetradic
#228D23 #22578D #8D228C #8D5922
square
#228D23 #22578D #8D228C #8D5922
split-complementary
#228D23 #59228D #8D2257
monochromatic
#0A2A0B #165C17 #228D23 #2EBE2F #54D655

Accessibility & contrast

On white

4.28
#228D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#228D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228D23
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228D23#FFFFFF#000000##000000
##228D231.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0F
Deuteranopia (green-blind)
#84772E
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #228d23;
/* rgb */ color: rgb(34, 141, 35);
/* oklch */ color: oklch(56.4% 0.171 143.0);
Tailwind
colors: {
  custom: {
    50: '#70af65',
    500: '#228d23',
    950: '#000000',
  },
}
SCSS
$custom: #228d23;
$custom-light: #70af65;
$custom-dark: #000000;
JSON
{
  "hex": "#228d23",
  "rgb": {
    "r": 34,
    "g": 141,
    "b": 35
  },
  "hsl": {
    "h": 120.561,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56352,
    "c": 0.1705,
    "h": 143
  },
  "luminance": 0.19511
}

Semantic roles & 50–950 ramp

primary
#228D23
secondary
#B951B8
accent
#44E3E4
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #228D23

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

Preview Lab → · Contrast checker → · Palette generator →

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