#228129#228129

#228129 is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.0% C 0.152 H 144.0°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#228129
RGBrgb(34, 129, 41)
HSLhsl(124, 58%, 32%)
HSVhsv(124, 74%, 51%)
CMYKcmyk(73.6%, 0%, 68.2%, 49.4%)
CIE-LABlab(47.24, -45.44, 38.60)
CIE-LCHlch(47.24, 59.62, 139.65°)
OKLaboklab(53.01% -0.123 0.0893)
OKLCHoklch(53.01% 0.152 144)
XYZxyz(8.9096, 16.1997, 4.7547)
Luminance0.1620 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228129 #81227A
analogous
#4B8122 #228129 #228159
triadic
#228129 #292281 #812922
tetradic
#228129 #224B81 #81227A #815922
square
#228129 #224B81 #81227A #815922
split-complementary
#228129 #592281 #81224B
monochromatic
#08200A #15511A #228129 #2FB138 #4DD057

Accessibility & contrast

On white

4.95
#228129 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#228129 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228129
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228129#FFFFFF#000000##FFFFFF
##2281291.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84751E
Deuteranopia (green-blind)
#796D31
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #228129;
/* rgb */ color: rgb(34, 129, 41);
/* oklch */ color: oklch(53.0% 0.152 144.0);
Tailwind
colors: {
  custom: {
    50: '#6da767',
    500: '#228129',
    950: '#000000',
  },
}
SCSS
$custom: #228129;
$custom-light: #6da767;
$custom-dark: #000000;
JSON
{
  "hex": "#228129",
  "rgb": {
    "r": 34,
    "g": 129,
    "b": 41
  },
  "hsl": {
    "h": 124.421,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53012,
    "c": 0.15197,
    "h": 144
  },
  "luminance": 0.16201
}

Semantic roles & 50–950 ramp

primary
#228129
secondary
#B34BAC
accent
#46D6E1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #228129

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

Preview Lab → · Contrast checker → · Palette generator →

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