#229229#229229

#229229 is a mid, vivid green. Relative luminance 0.211; OKLCH L 57.8% C 0.173 H 143.7°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#229229
RGBrgb(34, 146, 41)
HSLhsl(124, 62%, 35%)
HSVhsv(124, 77%, 57%)
CMYKcmyk(76.7%, 0%, 71.9%, 42.7%)
CIE-LABlab(53.01, -51.33, 44.77)
CIE-LCHlch(53.01, 68.11, 138.91°)
OKLaboklab(57.8% -0.139 0.1022)
OKLCHoklch(57.8% 0.173 143.7)
XYZxyz(11.3381, 21.0566, 5.5642)
Luminance0.2106 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229229 #92228B
analogous
#539222 #229229 #229261
triadic
#229229 #292292 #922922
tetradic
#229229 #225392 #92228B #926122
square
#229229 #225392 #92228B #926122
split-complementary
#229229 #612292 #922253
monochromatic
#0B2F0D #16601B #229229 #2EC437 #57D85F

Accessibility & contrast

On white

4.03
#229229 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#229229 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229229
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229229#FFFFFF#000000##000000
##2292291.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#958419
Deuteranopia (green-blind)
#897B33
Tritanopia (blue-blind)
#008E7D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #229229;
/* rgb */ color: rgb(34, 146, 41);
/* oklch */ color: oklch(57.8% 0.173 143.7);
Tailwind
colors: {
  custom: {
    50: '#71b369',
    500: '#229229',
    950: '#000000',
  },
}
SCSS
$custom: #229229;
$custom-light: #71b369;
$custom-dark: #000000;
JSON
{
  "hex": "#229229",
  "rgb": {
    "r": 34,
    "g": 146,
    "b": 41
  },
  "hsl": {
    "h": 123.75,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57805,
    "c": 0.17255,
    "h": 143.7
  },
  "luminance": 0.21058
}

Semantic roles & 50–950 ramp

primary
#229229
secondary
#BC54B5
accent
#43DBE5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #229229

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

Preview Lab → · Contrast checker → · Palette generator →

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