#228F19#228F19

#228F19 is a mid, vivid green. Relative luminance 0.201; OKLCH L 56.8% C 0.178 H 142.0°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#228F19
RGBrgb(34, 143, 25)
HSLhsl(115, 70%, 33%)
HSVhsv(115, 83%, 56%)
CMYKcmyk(76.2%, 0%, 82.5%, 43.9%)
CIE-LABlab(51.90, -51.56, 49.34)
CIE-LCHlch(51.90, 71.36, 136.26°)
OKLaboklab(56.85% -0.1404 0.1096)
OKLCHoklch(56.85% 0.178 142)
XYZxyz(10.6570, 20.0540, 4.2287)
Luminance0.2006 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228F19 #86198F
analogous
#5D8F19 #228F19 #198F4B
triadic
#228F19 #19228F #8F1922
tetradic
#228F19 #195D8F #86198F #8F4B19
square
#228F19 #195D8F #86198F #8F4B19
split-complementary
#228F19 #4B198F #8F195D
monochromatic
#092707 #165B10 #228F19 #2EC322 #50DE44

Accessibility & contrast

On white

4.19
#228F19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#228F19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228F19
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228F19#FFFFFF#000000##000000
##228F191.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#867928
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #228f19;
/* rgb */ color: rgb(34, 143, 25);
/* oklch */ color: oklch(56.8% 0.178 142.0);
Tailwind
colors: {
  custom: {
    50: '#71b161',
    500: '#228f19',
    950: '#000000',
  },
}
SCSS
$custom: #228f19;
$custom-light: #71b161;
$custom-dark: #000000;
JSON
{
  "hex": "#228f19",
  "rgb": {
    "r": 34,
    "g": 143,
    "b": 25
  },
  "hsl": {
    "h": 115.424,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56848,
    "c": 0.17808,
    "h": 142
  },
  "luminance": 0.20055
}

Semantic roles & 50–950 ramp

primary
#228F19
secondary
#B644BF
accent
#3BEDDF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #228F19

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

Preview Lab → · Contrast checker → · Palette generator →

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