#229852#229852

#229852 is a mid, vivid green. Relative luminance 0.234; OKLCH L 60.0% C 0.146 H 151.9°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#229852
RGBrgb(34, 152, 82)
HSLhsl(144, 63%, 36%)
HSVhsv(144, 78%, 60%)
CMYKcmyk(77.6%, 0%, 46.1%, 40.4%)
CIE-LABlab(55.49, -47.84, 27.92)
CIE-LCHlch(55.49, 55.39, 149.73°)
OKLaboklab(60.01% -0.1286 0.0686)
OKLCHoklch(60.01% 0.146 151.9)
XYZxyz(13.4097, 23.4042, 11.7917)
Luminance0.2341 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229852 #982268
analogous
#2D9822 #229852 #22988D
triadic
#229852 #522298 #985222
tetradic
#229852 #222D98 #982268 #988D22
square
#229852 #222D98 #982268 #988D22
split-complementary
#229852 #8D2298 #98222D
monochromatic
#0C341C #176637 #229852 #2DCA6D #5ADA8E

Accessibility & contrast

On white

3.70
#229852 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#229852 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229852
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229852#FFFFFF#000000##000000
##2298521.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#988B4D
Deuteranopia (green-blind)
#8B8157
Tritanopia (blue-blind)
#009687
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #229852;
/* rgb */ color: rgb(34, 152, 82);
/* oklch */ color: oklch(60.0% 0.146 151.9);
Tailwind
colors: {
  custom: {
    50: '#71b783',
    500: '#229852',
    950: '#000000',
  },
}
SCSS
$custom: #229852;
$custom-light: #71b783;
$custom-dark: #000000;
JSON
{
  "hex": "#229852",
  "rgb": {
    "r": 34,
    "g": 152,
    "b": 82
  },
  "hsl": {
    "h": 144.407,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60009,
    "c": 0.14578,
    "h": 151.9
  },
  "luminance": 0.23406
}

Semantic roles & 50–950 ramp

primary
#229852
secondary
#BE5795
accent
#41A3E6
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#09110B
muted
#7B807C

Preview Lab

Preview with #229852

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

Preview Lab → · Contrast checker → · Palette generator →

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