#229F28#229F28

#229F28 is a mid, vivid green. Relative luminance 0.253; OKLCH L 61.4% C 0.188 H 143.4°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#229F28
RGBrgb(34, 159, 40)
HSLhsl(123, 65%, 38%)
HSVhsv(123, 79%, 62%)
CMYKcmyk(78.6%, 0%, 74.8%, 37.6%)
CIE-LABlab(57.35, -55.70, 49.61)
CIE-LCHlch(57.35, 74.59, 138.31°)
OKLaboklab(61.41% -0.1509 0.1122)
OKLCHoklch(61.41% 0.188 143.4)
XYZxyz(13.4400, 25.2880, 6.1798)
Luminance0.2529 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229F28 #9F2299
analogous
#5A9F22 #229F28 #229F66
triadic
#229F28 #28229F #9F2822
tetradic
#229F28 #225A9F #9F2299 #9F6622
square
#229F28 #225A9F #9F2299 #9F6622
split-complementary
#229F28 #66229F #9F225A
monochromatic
#0C3A0F #176D1B #229F28 #2DD135 #5FDD65

Accessibility & contrast

On white

3.47
#229F28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#229F28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229F28
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229F28#FFFFFF#000000##000000
##229F281.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F11
Deuteranopia (green-blind)
#958635
Tritanopia (blue-blind)
#009A88
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #229f28;
/* rgb */ color: rgb(34, 159, 40);
/* oklch */ color: oklch(61.4% 0.188 143.4);
Tailwind
colors: {
  custom: {
    50: '#74bd6a',
    500: '#229f28',
    950: '#000000',
  },
}
SCSS
$custom: #229f28;
$custom-light: #74bd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#229f28",
  "rgb": {
    "r": 34,
    "g": 159,
    "b": 40
  },
  "hsl": {
    "h": 122.88,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61412,
    "c": 0.18807,
    "h": 143.4
  },
  "luminance": 0.2529
}

Semantic roles & 50–950 ramp

primary
#229F28
secondary
#C15BBD
accent
#40E0E8
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #229F28

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

Preview Lab → · Contrast checker → · Palette generator →

#229F28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva