#229526#229526

#229526 is a mid, vivid green. Relative luminance 0.220; OKLCH L 58.6% C 0.178 H 143.3°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#229526
RGBrgb(34, 149, 38)
HSLhsl(122, 63%, 36%)
HSVhsv(122, 77%, 58%)
CMYKcmyk(77.2%, 0%, 74.5%, 41.6%)
CIE-LABlab(54.00, -52.60, 46.96)
CIE-LCHlch(54.00, 70.51, 138.24°)
OKLaboklab(58.62% -0.1426 0.1064)
OKLCHoklch(58.62% 0.178 143.3)
XYZxyz(11.7562, 21.9735, 5.4551)
Luminance0.2198 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229526 #952291
analogous
#579522 #229526 #22955F
triadic
#229526 #262295 #952622
tetradic
#229526 #225795 #952291 #955F22
square
#229526 #225795 #952291 #955F22
split-complementary
#229526 #5F2295 #952257
monochromatic
#0B310D #176319 #229526 #2DC733 #58D95D

Accessibility & contrast

On white

3.89
#229526 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#229526 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229526
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229526#FFFFFF#000000##000000
##2295261.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#988612
Deuteranopia (green-blind)
#8B7E32
Tritanopia (blue-blind)
#00917F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #229526;
/* rgb */ color: rgb(34, 149, 38);
/* oklch */ color: oklch(58.6% 0.178 143.3);
Tailwind
colors: {
  custom: {
    50: '#72b568',
    500: '#229526',
    950: '#000000',
  },
}
SCSS
$custom: #229526;
$custom-light: #72b568;
$custom-dark: #000000;
JSON
{
  "hex": "#229526",
  "rgb": {
    "r": 34,
    "g": 149,
    "b": 38
  },
  "hsl": {
    "h": 122.087,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58618,
    "c": 0.17792,
    "h": 143.3
  },
  "luminance": 0.21975
}

Semantic roles & 50–950 ramp

primary
#229526
secondary
#BD56BA
accent
#42E0E6
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #229526

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

Preview Lab → · Contrast checker → · Palette generator →

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