#229126#229126

#229126 is a mid, vivid green. Relative luminance 0.207; OKLCH L 57.5% C 0.173 H 143.3°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#229126
RGBrgb(34, 145, 38)
HSLhsl(122, 62%, 35%)
HSVhsv(122, 77%, 57%)
CMYKcmyk(76.6%, 0%, 73.8%, 43.1%)
CIE-LABlab(52.65, -51.27, 45.58)
CIE-LCHlch(52.65, 68.60, 138.36°)
OKLaboklab(57.5% -0.139 0.1036)
OKLCHoklch(57.5% 0.173 143.3)
XYZxyz(11.1342, 20.7295, 5.2477)
Luminance0.2073 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229126 #91228D
analogous
#569122 #229126 #22915D
triadic
#229126 #262291 #912622
tetradic
#229126 #225691 #91228D #915D22
square
#229126 #225691 #91228D #915D22
split-complementary
#229126 #5D2291 #912256
monochromatic
#0B2E0C #165F19 #229126 #2EC333 #56D75B

Accessibility & contrast

On white

4.08
#229126 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#229126 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229126
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229126#FFFFFF#000000##000000
##2291261.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#948313
Deuteranopia (green-blind)
#887A31
Tritanopia (blue-blind)
#008D7C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #229126;
/* rgb */ color: rgb(34, 145, 38);
/* oklch */ color: oklch(57.5% 0.173 143.3);
Tailwind
colors: {
  custom: {
    50: '#71b267',
    500: '#229126',
    950: '#000000',
  },
}
SCSS
$custom: #229126;
$custom-light: #71b267;
$custom-dark: #000000;
JSON
{
  "hex": "#229126",
  "rgb": {
    "r": 34,
    "g": 145,
    "b": 38
  },
  "hsl": {
    "h": 122.162,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.575,
    "c": 0.17331,
    "h": 143.3
  },
  "luminance": 0.20731
}

Semantic roles & 50–950 ramp

primary
#229126
secondary
#BB53B8
accent
#43DFE5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #229126

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

Preview Lab → · Contrast checker → · Palette generator →

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