#228C23#228C23

#228C23 is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.1% C 0.169 H 143.0°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#228C23
RGBrgb(34, 140, 35)
HSLhsl(121, 61%, 34%)
HSVhsv(121, 76%, 55%)
CMYKcmyk(75.7%, 0%, 75%, 45.1%)
CIE-LABlab(50.94, -49.84, 44.99)
CIE-LCHlch(50.94, 67.14, 137.93°)
OKLaboklab(56.07% -0.1352 0.1019)
OKLCHoklch(56.07% 0.169 143)
XYZxyz(10.3405, 19.2164, 4.7540)
Luminance0.1922 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228C23 #8C228B
analogous
#568C22 #228C23 #228C58
triadic
#228C23 #23228C #8C2322
tetradic
#228C23 #22568C #8C228B #8C5822
square
#228C23 #22568C #8C228B #8C5822
split-complementary
#228C23 #58228C #8C2256
monochromatic
#0A2A0A #165B17 #228C23 #2EBD2F #53D554

Accessibility & contrast

On white

4.34
#228C23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#228C23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228C23
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228C23#FFFFFF#000000##000000
##228C231.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E10
Deuteranopia (green-blind)
#83762E
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #228c23;
/* rgb */ color: rgb(34, 140, 35);
/* oklch */ color: oklch(56.1% 0.169 143.0);
Tailwind
colors: {
  custom: {
    50: '#70af65',
    500: '#228c23',
    950: '#000000',
  },
}
SCSS
$custom: #228c23;
$custom-light: #70af65;
$custom-dark: #000000;
JSON
{
  "hex": "#228c23",
  "rgb": {
    "r": 34,
    "g": 140,
    "b": 35
  },
  "hsl": {
    "h": 120.566,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.5607,
    "c": 0.16934,
    "h": 143
  },
  "luminance": 0.19218
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #228C23

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

Preview Lab → · Contrast checker → · Palette generator →

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