#228C25#228C25

#228C25 is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.1% C 0.168 H 143.2°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#228C25
RGBrgb(34, 140, 37)
HSLhsl(122, 61%, 34%)
HSVhsv(122, 76%, 55%)
CMYKcmyk(75.7%, 0%, 73.6%, 45.1%)
CIE-LABlab(50.95, -49.67, 44.23)
CIE-LCHlch(50.95, 66.50, 138.32°)
OKLaboklab(56.09% -0.1347 0.1006)
OKLCHoklch(56.09% 0.168 143.2)
XYZxyz(10.3710, 19.2286, 4.9148)
Luminance0.1923 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228C25 #8C2289
analogous
#548C22 #228C25 #228C5A
triadic
#228C25 #25228C #8C2522
tetradic
#228C25 #22548C #8C2289 #8C5A22
square
#228C25 #22548C #8C2289 #8C5A22
split-complementary
#228C25 #5A228C #8C2254
monochromatic
#0A2A0B #165B18 #228C25 #2EBD32 #53D557

Accessibility & contrast

On white

4.33
#228C25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#228C25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228C25
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228C25#FFFFFF#000000##000000
##228C251.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E14
Deuteranopia (green-blind)
#837630
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #228c25;
/* rgb */ color: rgb(34, 140, 37);
/* oklch */ color: oklch(56.1% 0.168 143.2);
Tailwind
colors: {
  custom: {
    50: '#6faf66',
    500: '#228c25',
    950: '#000000',
  },
}
SCSS
$custom: #228c25;
$custom-light: #6faf66;
$custom-dark: #000000;
JSON
{
  "hex": "#228c25",
  "rgb": {
    "r": 34,
    "g": 140,
    "b": 37
  },
  "hsl": {
    "h": 121.698,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56087,
    "c": 0.16809,
    "h": 143.2
  },
  "luminance": 0.1923
}

Semantic roles & 50–950 ramp

primary
#228C25
secondary
#B951B6
accent
#44E0E4
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #228C25

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

Preview Lab → · Contrast checker → · Palette generator →

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