#229726#229726

#229726 is a mid, vivid green. Relative luminance 0.226; OKLCH L 59.2% C 0.180 H 143.2°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#229726
RGBrgb(34, 151, 38)
HSLhsl(122, 63%, 36%)
HSVhsv(122, 77%, 59%)
CMYKcmyk(77.5%, 0%, 74.8%, 40.8%)
CIE-LABlab(54.67, -53.26, 47.64)
CIE-LCHlch(54.67, 71.45, 138.19°)
OKLaboklab(59.18% -0.1444 0.1078)
OKLCHoklch(59.18% 0.18 143.2)
XYZxyz(12.0754, 22.6118, 5.5615)
Luminance0.2261 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229726 #972293
analogous
#599722 #229726 #229761
triadic
#229726 #262297 #972622
tetradic
#229726 #225997 #972293 #976122
square
#229726 #225997 #972293 #976122
split-complementary
#229726 #612297 #972259
monochromatic
#0C330D #176519 #229726 #2DC933 #5ADA5E

Accessibility & contrast

On white

3.80
#229726 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#229726 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229726
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229726#FFFFFF#000000##000000
##2297261.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8811
Deuteranopia (green-blind)
#8D7F32
Tritanopia (blue-blind)
#009381
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #229726;
/* rgb */ color: rgb(34, 151, 38);
/* oklch */ color: oklch(59.2% 0.180 143.2);
Tailwind
colors: {
  custom: {
    50: '#72b768',
    500: '#229726',
    950: '#000000',
  },
}
SCSS
$custom: #229726;
$custom-light: #72b768;
$custom-dark: #000000;
JSON
{
  "hex": "#229726",
  "rgb": {
    "r": 34,
    "g": 151,
    "b": 38
  },
  "hsl": {
    "h": 122.051,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59176,
    "c": 0.1802,
    "h": 143.2
  },
  "luminance": 0.22613
}

Semantic roles & 50–950 ramp

primary
#229726
secondary
#BE57BA
accent
#42E1E6
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #229726

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

Preview Lab → · Contrast checker → · Palette generator →

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