#229151#229151

#229151 is a mid, vivid green. Relative luminance 0.212; OKLCH L 58.1% C 0.137 H 152.8°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#229151
RGBrgb(34, 145, 81)
HSLhsl(145, 62%, 35%)
HSVhsv(145, 77%, 57%)
CMYKcmyk(76.6%, 0%, 44.1%, 43.1%)
CIE-LABlab(53.15, -45.36, 25.44)
CIE-LCHlch(53.15, 52.01, 150.71°)
OKLaboklab(58.07% -0.1221 0.0629)
OKLCHoklch(58.07% 0.137 152.8)
XYZxyz(12.2692, 21.1835, 11.2252)
Luminance0.2119 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229151 #912262
analogous
#2B9122 #229151 #229188
triadic
#229151 #512291 #915122
tetradic
#229151 #222B91 #912262 #918822
square
#229151 #222B91 #912262 #918822
split-complementary
#229151 #882291 #91222B
monochromatic
#0B2E1A #165F35 #229151 #2EC36D #56D78D

Accessibility & contrast

On white

4.01
#229151 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#229151 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229151
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229151#FFFFFF#000000##000000
##2291511.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#91844C
Deuteranopia (green-blind)
#847B55
Tritanopia (blue-blind)
#008F81
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #229151;
/* rgb */ color: rgb(34, 145, 81);
/* oklch */ color: oklch(58.1% 0.137 152.8);
Tailwind
colors: {
  custom: {
    50: '#6fb282',
    500: '#229151',
    950: '#000000',
  },
}
SCSS
$custom: #229151;
$custom-light: #6fb282;
$custom-dark: #000000;
JSON
{
  "hex": "#229151",
  "rgb": {
    "r": 34,
    "g": 145,
    "b": 81
  },
  "hsl": {
    "h": 145.405,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58073,
    "c": 0.13732,
    "h": 152.8
  },
  "luminance": 0.21185
}

Semantic roles & 50–950 ramp

primary
#229151
secondary
#BB538F
accent
#43A0E5
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#08110A
muted
#7B807C

Preview Lab

Preview with #229151

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

Preview Lab → · Contrast checker → · Palette generator →

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