#22852C#22852C

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

Color values

HEX#22852C
RGBrgb(34, 133, 44)
HSLhsl(126, 59%, 33%)
HSVhsv(126, 74%, 52%)
CMYKcmyk(74.4%, 0%, 66.9%, 47.8%)
CIE-LABlab(48.63, -46.53, 38.78)
CIE-LCHlch(48.63, 60.57, 140.19°)
OKLaboklab(54.18% -0.1258 0.09)
OKLCHoklch(54.18% 0.155 144.4)
XYZxyz(9.5012, 17.2959, 5.2201)
Luminance0.1730 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22852C #85227B
analogous
#498522 #22852C #22855E
triadic
#22852C #2C2285 #852C22
tetradic
#22852C #224985 #85227B #855E22
square
#22852C #224985 #85227B #855E22
split-complementary
#22852C #5E2285 #852249
monochromatic
#09240C #16541C #22852C #2EB63C #4FD25D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22852C#FFFFFF#000000##FFFFFF
##22852C1.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)
#877821
Deuteranopia (green-blind)
#7C7034
Tritanopia (blue-blind)
#008173
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #22852c;
/* rgb */ color: rgb(34, 133, 44);
/* oklch */ color: oklch(54.2% 0.155 144.4);
Tailwind
colors: {
  custom: {
    50: '#6da969',
    500: '#22852c',
    950: '#000000',
  },
}
SCSS
$custom: #22852c;
$custom-light: #6da969;
$custom-dark: #000000;
JSON
{
  "hex": "#22852c",
  "rgb": {
    "r": 34,
    "g": 133,
    "b": 44
  },
  "hsl": {
    "h": 126.061,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54178,
    "c": 0.15469,
    "h": 144.4
  },
  "luminance": 0.17297
}

Semantic roles & 50–950 ramp

primary
#22852C
secondary
#B64DAB
accent
#45D3E2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #22852C

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

Preview Lab → · Contrast checker → · Palette generator →

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