#228E25#228E25

#228E25 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.6% C 0.170 H 143.2°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#228E25
RGBrgb(34, 142, 37)
HSLhsl(122, 61%, 35%)
HSVhsv(122, 76%, 56%)
CMYKcmyk(76.1%, 0%, 73.9%, 44.3%)
CIE-LABlab(51.63, -50.34, 44.92)
CIE-LCHlch(51.63, 67.47, 138.26°)
OKLaboklab(56.65% -0.1365 0.102)
OKLCHoklch(56.65% 0.17 143.2)
XYZxyz(10.6659, 19.8184, 5.0131)
Luminance0.1982 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228E25 #8E228B
analogous
#558E22 #228E25 #228E5B
triadic
#228E25 #25228E #8E2522
tetradic
#228E25 #22558E #8E228B #8E5B22
square
#228E25 #22558E #8E228B #8E5B22
split-complementary
#228E25 #5B228E #8E2255
monochromatic
#0A2B0B #165D18 #228E25 #2EBF32 #54D658

Accessibility & contrast

On white

4.23
#228E25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#228E25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228E25
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228E25#FFFFFF#000000##000000
##228E251.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#918013
Deuteranopia (green-blind)
#857830
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #228e25;
/* rgb */ color: rgb(34, 142, 37);
/* oklch */ color: oklch(56.6% 0.170 143.2);
Tailwind
colors: {
  custom: {
    50: '#70b066',
    500: '#228e25',
    950: '#000000',
  },
}
SCSS
$custom: #228e25;
$custom-light: #70b066;
$custom-dark: #000000;
JSON
{
  "hex": "#228e25",
  "rgb": {
    "r": 34,
    "g": 142,
    "b": 37
  },
  "hsl": {
    "h": 121.667,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56649,
    "c": 0.17044,
    "h": 143.2
  },
  "luminance": 0.1982
}

Semantic roles & 50–950 ramp

primary
#228E25
secondary
#BA52B7
accent
#43E0E4
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #228E25

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

Preview Lab → · Contrast checker → · Palette generator →

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