#22852D#22852D

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

Color values

HEX#22852D
RGBrgb(34, 133, 45)
HSLhsl(127, 59%, 33%)
HSVhsv(127, 74%, 52%)
CMYKcmyk(74.4%, 0%, 66.2%, 47.8%)
CIE-LABlab(48.64, -46.42, 38.33)
CIE-LCHlch(48.64, 60.20, 140.45°)
OKLaboklab(54.19% -0.1255 0.0891)
OKLCHoklch(54.19% 0.154 144.6)
XYZxyz(9.5202, 17.3035, 5.3203)
Luminance0.1731 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22852D #85227A
analogous
#488522 #22852D #22855F
triadic
#22852D #2D2285 #852D22
tetradic
#22852D #224885 #85227A #855F22
square
#22852D #224885 #85227A #855F22
split-complementary
#22852D #5F2285 #852248
monochromatic
#09240C #16541D #22852D #2EB63D #4FD25E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22852D#FFFFFF#000000##FFFFFF
##22852D1.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)
#877822
Deuteranopia (green-blind)
#7C7035
Tritanopia (blue-blind)
#008173
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #22852d;
/* rgb */ color: rgb(34, 133, 45);
/* oklch */ color: oklch(54.2% 0.154 144.6);
Tailwind
colors: {
  custom: {
    50: '#6da96a',
    500: '#22852d',
    950: '#000000',
  },
}
SCSS
$custom: #22852d;
$custom-light: #6da96a;
$custom-dark: #000000;
JSON
{
  "hex": "#22852d",
  "rgb": {
    "r": 34,
    "g": 133,
    "b": 45
  },
  "hsl": {
    "h": 126.667,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54189,
    "c": 0.15391,
    "h": 144.6
  },
  "luminance": 0.17305
}

Semantic roles & 50–950 ramp

primary
#22852D
secondary
#B64DAA
accent
#45D1E2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #22852D

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

Preview Lab → · Contrast checker → · Palette generator →

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