#228919#228919

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

Color values

HEX#228919
RGBrgb(34, 137, 25)
HSLhsl(115, 69%, 32%)
HSVhsv(115, 82%, 54%)
CMYKcmyk(75.2%, 0%, 81.8%, 46.3%)
CIE-LABlab(49.86, -49.57, 47.42)
CIE-LCHlch(49.86, 68.60, 136.27°)
OKLaboklab(55.15% -0.135 0.1056)
OKLCHoklch(55.15% 0.171 142)
XYZxyz(9.7802, 18.3005, 3.9364)
Luminance0.1830 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228919 #801989
analogous
#5A8919 #228919 #198948
triadic
#228919 #192289 #891922
tetradic
#228919 #195A89 #801989 #894819
square
#228919 #195A89 #801989 #894819
split-complementary
#228919 #481989 #89195A
monochromatic
#082106 #155510 #228919 #2FBD22 #4DDC40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##228919#FFFFFF#000000##000000
##2289191.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)
#817427
Tritanopia (blue-blind)
#008574
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #228919;
/* rgb */ color: rgb(34, 137, 25);
/* oklch */ color: oklch(55.2% 0.171 142.0);
Tailwind
colors: {
  custom: {
    50: '#6fac60',
    500: '#228919',
    950: '#000000',
  },
}
SCSS
$custom: #228919;
$custom-light: #6fac60;
$custom-dark: #000000;
JSON
{
  "hex": "#228919",
  "rgb": {
    "r": 34,
    "g": 137,
    "b": 25
  },
  "hsl": {
    "h": 115.179,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55153,
    "c": 0.17137,
    "h": 142
  },
  "luminance": 0.18302
}

Semantic roles & 50–950 ramp

primary
#228919
secondary
#B241BC
accent
#3CECDE
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #228919

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

Preview Lab → · Contrast checker → · Palette generator →

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