#228C29#228C29

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

Color values

HEX#228C29
RGBrgb(34, 140, 41)
HSLhsl(124, 61%, 34%)
HSVhsv(124, 76%, 55%)
CMYKcmyk(75.7%, 0%, 70.7%, 45.1%)
CIE-LABlab(50.98, -49.29, 42.63)
CIE-LCHlch(50.98, 65.17, 139.14°)
OKLaboklab(56.12% -0.1335 0.0978)
OKLCHoklch(56.12% 0.165 143.8)
XYZxyz(10.4373, 19.2552, 5.2639)
Luminance0.1926 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228C29 #8C2285
analogous
#508C22 #228C29 #228C5E
triadic
#228C29 #29228C #8C2922
tetradic
#228C29 #22508C #8C2285 #8C5E22
square
#228C29 #22508C #8C2285 #8C5E22
split-complementary
#228C29 #5E228C #8C2250
monochromatic
#0A2A0C #165B1B #228C29 #2EBD37 #53D55C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##228C29#FFFFFF#000000##000000
##228C291.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)
#8F7E1B
Deuteranopia (green-blind)
#837633
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #228c29;
/* rgb */ color: rgb(34, 140, 41);
/* oklch */ color: oklch(56.1% 0.165 143.8);
Tailwind
colors: {
  custom: {
    50: '#6faf68',
    500: '#228c29',
    950: '#000000',
  },
}
SCSS
$custom: #228c29;
$custom-light: #6faf68;
$custom-dark: #000000;
JSON
{
  "hex": "#228c29",
  "rgb": {
    "r": 34,
    "g": 140,
    "b": 41
  },
  "hsl": {
    "h": 123.962,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56122,
    "c": 0.16543,
    "h": 143.8
  },
  "luminance": 0.19256
}

Semantic roles & 50–950 ramp

primary
#228C29
secondary
#B951B2
accent
#44D9E4
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #228C29

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

Preview Lab → · Contrast checker → · Palette generator →

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