#228B29#228B29

#228B29 is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.8% C 0.164 H 143.8°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#228B29
RGBrgb(34, 139, 41)
HSLhsl(124, 61%, 34%)
HSVhsv(124, 76%, 55%)
CMYKcmyk(75.5%, 0%, 70.5%, 45.5%)
CIE-LABlab(50.65, -48.95, 42.27)
CIE-LCHlch(50.65, 64.67, 139.19°)
OKLaboklab(55.84% -0.1325 0.097)
OKLCHoklch(55.84% 0.164 143.8)
XYZxyz(10.2919, 18.9642, 5.2155)
Luminance0.1897 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228B29 #8B2284
analogous
#508B22 #228B29 #228B5E
triadic
#228B29 #29228B #8B2922
tetradic
#228B29 #22508B #8B2284 #8B5E22
square
#228B29 #22508B #8B2284 #8B5E22
split-complementary
#228B29 #5E228B #8B2250
monochromatic
#0A290C #165A1A #228B29 #2EBC38 #53D55B

Accessibility & contrast

On white

4.38
#228B29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#228B29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228B29
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228B29#FFFFFF#000000##000000
##228B291.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E1B
Deuteranopia (green-blind)
#827532
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #228b29;
/* rgb */ color: rgb(34, 139, 41);
/* oklch */ color: oklch(55.8% 0.164 143.8);
Tailwind
colors: {
  custom: {
    50: '#6fae68',
    500: '#228b29',
    950: '#000000',
  },
}
SCSS
$custom: #228b29;
$custom-light: #6fae68;
$custom-dark: #000000;
JSON
{
  "hex": "#228b29",
  "rgb": {
    "r": 34,
    "g": 139,
    "b": 41
  },
  "hsl": {
    "h": 124,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.55841,
    "c": 0.16424,
    "h": 143.8
  },
  "luminance": 0.18965
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #228B29

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

Preview Lab → · Contrast checker → · Palette generator →

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