#228D29#228D29

#228D29 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.4% C 0.167 H 143.8°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#228D29
RGBrgb(34, 141, 41)
HSLhsl(124, 61%, 34%)
HSVhsv(124, 76%, 55%)
CMYKcmyk(75.9%, 0%, 70.9%, 44.7%)
CIE-LABlab(51.32, -49.63, 42.99)
CIE-LCHlch(51.32, 65.66, 139.10°)
OKLaboklab(56.4% -0.1344 0.0985)
OKLCHoklch(56.4% 0.167 143.8)
XYZxyz(10.5841, 19.5487, 5.3129)
Luminance0.1955 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228D29 #8D2286
analogous
#518D22 #228D29 #228D5F
triadic
#228D29 #29228D #8D2922
tetradic
#228D29 #22518D #8D2286 #8D5F22
square
#228D29 #22518D #8D2286 #8D5F22
split-complementary
#228D29 #5F228D #8D2251
monochromatic
#0A2A0C #165C1B #228D29 #2EBE37 #54D65C

Accessibility & contrast

On white

4.28
#228D29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#228D29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228D29
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228D29#FFFFFF#000000##000000
##228D291.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F1A
Deuteranopia (green-blind)
#847733
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #228d29;
/* rgb */ color: rgb(34, 141, 41);
/* oklch */ color: oklch(56.4% 0.167 143.8);
Tailwind
colors: {
  custom: {
    50: '#70af68',
    500: '#228d29',
    950: '#000000',
  },
}
SCSS
$custom: #228d29;
$custom-light: #70af68;
$custom-dark: #000000;
JSON
{
  "hex": "#228d29",
  "rgb": {
    "r": 34,
    "g": 141,
    "b": 41
  },
  "hsl": {
    "h": 123.925,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56403,
    "c": 0.16663,
    "h": 143.8
  },
  "luminance": 0.1955
}

Semantic roles & 50–950 ramp

primary
#228D29
secondary
#B951B3
accent
#44DAE4
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #228D29

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

Preview Lab → · Contrast checker → · Palette generator →

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