#228819#228819

#228819 is a mid, vivid green. Relative luminance 0.180; OKLCH L 54.9% C 0.170 H 142.0°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#228819
RGBrgb(34, 136, 25)
HSLhsl(115, 69%, 32%)
HSVhsv(115, 82%, 53%)
CMYKcmyk(75%, 0%, 81.6%, 46.7%)
CIE-LABlab(49.52, -49.24, 47.09)
CIE-LCHlch(49.52, 68.13, 136.27°)
OKLaboklab(54.87% -0.1341 0.1049)
OKLCHoklch(54.87% 0.17 142)
XYZxyz(9.6388, 18.0175, 3.8893)
Luminance0.1802 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228819 #7F1988
analogous
#5A8819 #228819 #198848
triadic
#228819 #192288 #881922
tetradic
#228819 #195A88 #7F1988 #884819
square
#228819 #195A88 #7F1988 #884819
split-complementary
#228819 #481988 #88195A
monochromatic
#082106 #15540F #228819 #2FBC23 #4CDC40

Accessibility & contrast

On white

4.56
#228819 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#228819 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228819
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228819#FFFFFF#000000##000000
##2288191.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B00
Deuteranopia (green-blind)
#807326
Tritanopia (blue-blind)
#008474
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #228819;
/* rgb */ color: rgb(34, 136, 25);
/* oklch */ color: oklch(54.9% 0.170 142.0);
Tailwind
colors: {
  custom: {
    50: '#6fac60',
    500: '#228819',
    950: '#000000',
  },
}
SCSS
$custom: #228819;
$custom-light: #6fac60;
$custom-dark: #000000;
JSON
{
  "hex": "#228819",
  "rgb": {
    "r": 34,
    "g": 136,
    "b": 25
  },
  "hsl": {
    "h": 115.135,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5487,
    "c": 0.17023,
    "h": 142
  },
  "luminance": 0.18019
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #228819

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

Preview Lab → · Contrast checker → · Palette generator →

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