#229142#229142

#229142 is a mid, vivid green. Relative luminance 0.210; OKLCH L 57.8% C 0.151 H 148.3°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#229142
RGBrgb(34, 145, 66)
HSLhsl(137, 62%, 35%)
HSVhsv(137, 77%, 57%)
CMYKcmyk(76.6%, 0%, 54.5%, 43.1%)
CIE-LABlab(52.93, -47.91, 33.09)
CIE-LCHlch(52.93, 58.23, 145.37°)
OKLaboklab(57.82% -0.1288 0.0796)
OKLCHoklch(57.82% 0.151 148.3)
XYZxyz(11.7675, 20.9829, 8.5831)
Luminance0.2098 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229142 #912271
analogous
#3A9122 #229142 #229179
triadic
#229142 #422291 #914222
tetradic
#229142 #223A91 #912271 #917922
square
#229142 #223A91 #912271 #917922
split-complementary
#229142 #792291 #91223A
monochromatic
#0B2E15 #165F2B #229142 #2EC359 #56D77B

Accessibility & contrast

On white

4.04
#229142 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#229142 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229142
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229142#FFFFFF#000000##000000
##2291421.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#92843B
Deuteranopia (green-blind)
#867B48
Tritanopia (blue-blind)
#008E7F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #229142;
/* rgb */ color: rgb(34, 145, 66);
/* oklch */ color: oklch(57.8% 0.151 148.3);
Tailwind
colors: {
  custom: {
    50: '#6fb278',
    500: '#229142',
    950: '#000000',
  },
}
SCSS
$custom: #229142;
$custom-light: #6fb278;
$custom-dark: #000000;
JSON
{
  "hex": "#229142",
  "rgb": {
    "r": 34,
    "g": 145,
    "b": 66
  },
  "hsl": {
    "h": 137.297,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.5782,
    "c": 0.15143,
    "h": 148.3
  },
  "luminance": 0.20984
}

Semantic roles & 50–950 ramp

primary
#229142
secondary
#BB539D
accent
#43B6E5
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#081109
muted
#7B807B

Preview Lab

Preview with #229142

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

Preview Lab → · Contrast checker → · Palette generator →

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