#228124#228124

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

Color values

HEX#228124
RGBrgb(34, 129, 36)
HSLhsl(121, 58%, 32%)
HSVhsv(121, 74%, 51%)
CMYKcmyk(73.6%, 0%, 72.1%, 49.4%)
CIE-LABlab(47.19, -45.95, 40.72)
CIE-LCHlch(47.19, 61.39, 138.45°)
OKLaboklab(52.96% -0.1246 0.0931)
OKLCHoklch(52.96% 0.156 143.2)
XYZxyz(8.8278, 16.1670, 4.3240)
Luminance0.1617 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228124 #81227F
analogous
#508122 #228124 #228154
triadic
#228124 #242281 #812422
tetradic
#228124 #225081 #81227F #815422
square
#228124 #225081 #81227F #815422
split-complementary
#228124 #542281 #812250
monochromatic
#082009 #155116 #228124 #2FB132 #4DD050

Accessibility & contrast

On white

4.96
#228124 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#228124 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228124
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228124#FFFFFF#000000##FFFFFF
##2281241.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847416
Deuteranopia (green-blind)
#796D2D
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #228124;
/* rgb */ color: rgb(34, 129, 36);
/* oklch */ color: oklch(53.0% 0.156 143.2);
Tailwind
colors: {
  custom: {
    50: '#6da764',
    500: '#228124',
    950: '#000000',
  },
}
SCSS
$custom: #228124;
$custom-light: #6da764;
$custom-dark: #000000;
JSON
{
  "hex": "#228124",
  "rgb": {
    "r": 34,
    "g": 129,
    "b": 36
  },
  "hsl": {
    "h": 121.263,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52963,
    "c": 0.15558,
    "h": 143.2
  },
  "luminance": 0.16168
}

Semantic roles & 50–950 ramp

primary
#228124
secondary
#B34BB1
accent
#46DEE1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #228124

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

Preview Lab → · Contrast checker → · Palette generator →

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