#228917#228917

#228917 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.1% C 0.172 H 141.8°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#228917
RGBrgb(34, 137, 23)
HSLhsl(114, 71%, 31%)
HSVhsv(114, 83%, 54%)
CMYKcmyk(75.2%, 0%, 83.2%, 46.3%)
CIE-LABlab(49.85, -49.70, 48.02)
CIE-LCHlch(49.85, 69.11, 135.98°)
OKLaboklab(55.14% -0.1354 0.1065)
OKLCHoklch(55.14% 0.172 141.8)
XYZxyz(9.7594, 18.2922, 3.8268)
Luminance0.1829 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228917 #7E1789
analogous
#5B8917 #228917 #178945
triadic
#228917 #172289 #891722
tetradic
#228917 #175B89 #7E1789 #894517
square
#228917 #175B89 #7E1789 #894517
split-complementary
#228917 #451789 #89175B
monochromatic
#082005 #15550E #228917 #2FBD20 #4CDE3C

Accessibility & contrast

On white

4.51
#228917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#228917 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228917
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228917#FFFFFF#000000##000000
##2289171.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#817425
Tritanopia (blue-blind)
#008574
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #228917;
/* rgb */ color: rgb(34, 137, 23);
/* oklch */ color: oklch(55.1% 0.172 141.8);
Tailwind
colors: {
  custom: {
    50: '#6fac5f',
    500: '#228917',
    950: '#000000',
  },
}
SCSS
$custom: #228917;
$custom-light: #6fac5f;
$custom-dark: #000000;
JSON
{
  "hex": "#228917",
  "rgb": {
    "r": 34,
    "g": 137,
    "b": 23
  },
  "hsl": {
    "h": 114.211,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55142,
    "c": 0.1723,
    "h": 141.8
  },
  "luminance": 0.18293
}

Semantic roles & 50–950 ramp

primary
#228917
secondary
#B13FBD
accent
#3AEEDD
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #228917

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

Preview Lab → · Contrast checker → · Palette generator →

#228917 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva