#228A29#228A29

#228A29 is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.6% C 0.163 H 143.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#228A29
RGBrgb(34, 138, 41)
HSLhsl(124, 60%, 34%)
HSVhsv(124, 75%, 54%)
CMYKcmyk(75.4%, 0%, 70.3%, 45.9%)
CIE-LABlab(50.31, -48.60, 41.91)
CIE-LCHlch(50.31, 64.18, 139.23°)
OKLaboklab(55.56% -0.1316 0.0962)
OKLCHoklch(55.56% 0.163 143.8)
XYZxyz(10.1477, 18.6760, 5.1674)
Luminance0.1868 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228A29 #8A2283
analogous
#4F8A22 #228A29 #228A5D
triadic
#228A29 #29228A #8A2922
tetradic
#228A29 #224F8A #8A2283 #8A5D22
square
#228A29 #224F8A #8A2283 #8A5D22
split-complementary
#228A29 #5D228A #8A224F
monochromatic
#0A280C #16591A #228A29 #2EBB38 #52D45B

Accessibility & contrast

On white

4.43
#228A29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#228A29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228A29
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228A29#FFFFFF#000000##000000
##228A291.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D1B
Deuteranopia (green-blind)
#817532
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #228a29;
/* rgb */ color: rgb(34, 138, 41);
/* oklch */ color: oklch(55.6% 0.163 143.8);
Tailwind
colors: {
  custom: {
    50: '#6fad68',
    500: '#228a29',
    950: '#000000',
  },
}
SCSS
$custom: #228a29;
$custom-light: #6fad68;
$custom-dark: #000000;
JSON
{
  "hex": "#228a29",
  "rgb": {
    "r": 34,
    "g": 138,
    "b": 41
  },
  "hsl": {
    "h": 124.038,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55559,
    "c": 0.16303,
    "h": 143.8
  },
  "luminance": 0.18677
}

Semantic roles & 50–950 ramp

primary
#228A29
secondary
#B850B1
accent
#44D9E4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #228A29

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

Preview Lab → · Contrast checker → · Palette generator →

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