#228029#228029

#228029 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.7% C 0.151 H 144.1°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#228029
RGBrgb(34, 128, 41)
HSLhsl(124, 58%, 32%)
HSVhsv(124, 73%, 50%)
CMYKcmyk(73.4%, 0%, 68%, 49.8%)
CIE-LABlab(46.89, -45.08, 38.22)
CIE-LCHlch(46.89, 59.10, 139.70°)
OKLaboklab(52.73% -0.122 0.0885)
OKLCHoklch(52.73% 0.151 144.1)
XYZxyz(8.7785, 15.9375, 4.7110)
Luminance0.1594 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228029 #802279
analogous
#4A8022 #228029 #228058
triadic
#228029 #292280 #802922
tetradic
#228029 #224A80 #802279 #805822
square
#228029 #224A80 #802279 #805822
split-complementary
#228029 #582280 #80224A
monochromatic
#081F0A #15501A #228029 #2FB038 #4DD056

Accessibility & contrast

On white

5.01
#228029 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#228029 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228029
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228029#FFFFFF#000000##FFFFFF
##2280291.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83741E
Deuteranopia (green-blind)
#786C31
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #228029;
/* rgb */ color: rgb(34, 128, 41);
/* oklch */ color: oklch(52.7% 0.151 144.1);
Tailwind
colors: {
  custom: {
    50: '#6ca667',
    500: '#228029',
    950: '#000000',
  },
}
SCSS
$custom: #228029;
$custom-light: #6ca667;
$custom-dark: #000000;
JSON
{
  "hex": "#228029",
  "rgb": {
    "r": 34,
    "g": 128,
    "b": 41
  },
  "hsl": {
    "h": 124.468,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52727,
    "c": 0.15073,
    "h": 144.1
  },
  "luminance": 0.15939
}

Semantic roles & 50–950 ramp

primary
#228029
secondary
#B24BAB
accent
#47D6E1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #228029

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

Preview Lab → · Contrast checker → · Palette generator →

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