#228519#228519

#228519 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.0% C 0.167 H 141.9°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#228519
RGBrgb(34, 133, 25)
HSLhsl(115, 68%, 31%)
HSVhsv(115, 81%, 52%)
CMYKcmyk(74.4%, 0%, 81.2%, 47.8%)
CIE-LABlab(48.49, -48.22, 46.12)
CIE-LCHlch(48.49, 66.73, 136.28°)
OKLaboklab(54.02% -0.1314 0.1029)
OKLCHoklch(54.02% 0.167 141.9)
XYZxyz(9.2222, 17.1843, 3.7504)
Luminance0.1719 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228519 #7C1985
analogous
#588519 #228519 #198546
triadic
#228519 #192285 #851922
tetradic
#228519 #195885 #7C1985 #854619
square
#228519 #195885 #7C1985 #854619
split-complementary
#228519 #461985 #851958
monochromatic
#081E06 #15510F #228519 #2FB923 #4BDB3E

Accessibility & contrast

On white

4.73
#228519 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#228519 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228519
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228519#FFFFFF#000000##FFFFFF
##2285191.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#7D7026
Tritanopia (blue-blind)
#018171
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #228519;
/* rgb */ color: rgb(34, 133, 25);
/* oklch */ color: oklch(54.0% 0.167 141.9);
Tailwind
colors: {
  custom: {
    50: '#6eaa5f',
    500: '#228519',
    950: '#000000',
  },
}
SCSS
$custom: #228519;
$custom-light: #6eaa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#228519",
  "rgb": {
    "r": 34,
    "g": 133,
    "b": 25
  },
  "hsl": {
    "h": 115,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54017,
    "c": 0.16683,
    "h": 141.9
  },
  "luminance": 0.17185
}

Semantic roles & 50–950 ramp

primary
#228519
secondary
#AF41B9
accent
#3DEBDD
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #228519

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

Preview Lab → · Contrast checker → · Palette generator →

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