#22852E#22852E

#22852E is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.2% C 0.153 H 144.8°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#22852E
RGBrgb(34, 133, 46)
HSLhsl(127, 59%, 33%)
HSVhsv(127, 74%, 52%)
CMYKcmyk(74.4%, 0%, 65.4%, 47.8%)
CIE-LABlab(48.65, -46.30, 37.88)
CIE-LCHlch(48.65, 59.82, 140.71°)
OKLaboklab(54.2% -0.1251 0.0883)
OKLCHoklch(54.2% 0.153 144.8)
XYZxyz(9.5397, 17.3113, 5.4229)
Luminance0.1731 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22852E #852279
analogous
#478522 #22852E #228560
triadic
#22852E #2E2285 #852E22
tetradic
#22852E #224785 #852279 #856022
square
#22852E #224785 #852279 #856022
split-complementary
#22852E #602285 #852247
monochromatic
#09240C #16541D #22852E #2EB63F #4FD25F

Accessibility & contrast

On white

4.71
#22852E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#22852E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #22852E
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22852E#FFFFFF#000000##FFFFFF
##22852E1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877824
Deuteranopia (green-blind)
#7C7036
Tritanopia (blue-blind)
#008173
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #22852e;
/* rgb */ color: rgb(34, 133, 46);
/* oklch */ color: oklch(54.2% 0.153 144.8);
Tailwind
colors: {
  custom: {
    50: '#6da96a',
    500: '#22852e',
    950: '#000000',
  },
}
SCSS
$custom: #22852e;
$custom-light: #6da96a;
$custom-dark: #000000;
JSON
{
  "hex": "#22852e",
  "rgb": {
    "r": 34,
    "g": 133,
    "b": 46
  },
  "hsl": {
    "h": 127.273,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.542,
    "c": 0.15313,
    "h": 144.8
  },
  "luminance": 0.17312
}

Semantic roles & 50–950 ramp

primary
#22852E
secondary
#B64DA9
accent
#45CFE2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #22852E

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

Preview Lab → · Contrast checker → · Palette generator →

#22852E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva