#228829#228829

#228829 is a mid, vivid green. Relative luminance 0.181; OKLCH L 55.0% C 0.161 H 143.9°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#228829
RGBrgb(34, 136, 41)
HSLhsl(124, 60%, 33%)
HSVhsv(124, 75%, 53%)
CMYKcmyk(75%, 0%, 69.9%, 46.7%)
CIE-LABlab(49.63, -47.91, 41.18)
CIE-LCHlch(49.63, 63.18, 139.32°)
OKLaboklab(55% -0.1297 0.0947)
OKLCHoklch(55% 0.161 143.9)
XYZxyz(9.8634, 18.1074, 5.0726)
Luminance0.1811 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228829 #882281
analogous
#4E8822 #228829 #22885C
triadic
#228829 #292288 #882922
tetradic
#228829 #224E88 #882281 #885C22
square
#228829 #224E88 #882281 #885C22
split-complementary
#228829 #5C2288 #88224E
monochromatic
#0A260B #16571A #228829 #2EB938 #51D35A

Accessibility & contrast

On white

4.54
#228829 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#228829 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228829
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228829#FFFFFF#000000##000000
##2288291.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B1C
Deuteranopia (green-blind)
#7F7332
Tritanopia (blue-blind)
#008475
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #228829;
/* rgb */ color: rgb(34, 136, 41);
/* oklch */ color: oklch(55.0% 0.161 143.9);
Tailwind
colors: {
  custom: {
    50: '#6eac68',
    500: '#228829',
    950: '#000000',
  },
}
SCSS
$custom: #228829;
$custom-light: #6eac68;
$custom-dark: #000000;
JSON
{
  "hex": "#228829",
  "rgb": {
    "r": 34,
    "g": 136,
    "b": 41
  },
  "hsl": {
    "h": 124.118,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54995,
    "c": 0.16061,
    "h": 143.9
  },
  "luminance": 0.18108
}

Semantic roles & 50–950 ramp

primary
#228829
secondary
#B74FB0
accent
#45D8E3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #228829

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

Preview Lab → · Contrast checker → · Palette generator →

#228829 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva