#228E29#228E29

#228E29 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.7% C 0.168 H 143.7°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#228E29
RGBrgb(34, 142, 41)
HSLhsl(124, 61%, 35%)
HSVhsv(124, 76%, 56%)
CMYKcmyk(76.1%, 0%, 71.1%, 44.3%)
CIE-LABlab(51.66, -49.98, 43.35)
CIE-LCHlch(51.66, 66.16, 139.06°)
OKLaboklab(56.68% -0.1353 0.0993)
OKLCHoklch(56.68% 0.168 143.7)
XYZxyz(10.7322, 19.8449, 5.3622)
Luminance0.1985 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228E29 #8E2287
analogous
#518E22 #228E29 #228E5F
triadic
#228E29 #29228E #8E2922
tetradic
#228E29 #22518E #8E2287 #8E5F22
square
#228E29 #22518E #8E2287 #8E5F22
split-complementary
#228E29 #5F228E #8E2251
monochromatic
#0A2B0C #165D1B #228E29 #2EBF37 #54D65D

Accessibility & contrast

On white

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

On black

4.97
#228E29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228E29
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228E29#FFFFFF#000000##000000
##228E291.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#91801A
Deuteranopia (green-blind)
#857833
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #228e29;
/* rgb */ color: rgb(34, 142, 41);
/* oklch */ color: oklch(56.7% 0.168 143.7);
Tailwind
colors: {
  custom: {
    50: '#70b068',
    500: '#228e29',
    950: '#000000',
  },
}
SCSS
$custom: #228e29;
$custom-light: #70b068;
$custom-dark: #000000;
JSON
{
  "hex": "#228e29",
  "rgb": {
    "r": 34,
    "g": 142,
    "b": 41
  },
  "hsl": {
    "h": 123.889,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56684,
    "c": 0.16782,
    "h": 143.7
  },
  "luminance": 0.19846
}

Semantic roles & 50–950 ramp

primary
#228E29
secondary
#BA52B3
accent
#43DAE4
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #228E29

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

Preview Lab → · Contrast checker → · Palette generator →

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