#22852B#22852B

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

Color values

HEX#22852B
RGBrgb(34, 133, 43)
HSLhsl(125, 59%, 33%)
HSVhsv(125, 74%, 52%)
CMYKcmyk(74.4%, 0%, 67.7%, 47.8%)
CIE-LABlab(48.62, -46.64, 39.22)
CIE-LCHlch(48.62, 60.94, 139.94°)
OKLaboklab(54.17% -0.1262 0.0908)
OKLCHoklch(54.17% 0.155 144.3)
XYZxyz(9.4826, 17.2885, 5.1223)
Luminance0.1729 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22852B #85227C
analogous
#4A8522 #22852B #22855D
triadic
#22852B #2B2285 #852B22
tetradic
#22852B #224A85 #85227C #855D22
square
#22852B #224A85 #85227C #855D22
split-complementary
#22852B #5D2285 #85224A
monochromatic
#09240B #16541B #22852B #2EB63B #4FD25B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22852B#FFFFFF#000000##FFFFFF
##22852B1.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)
#88781F
Deuteranopia (green-blind)
#7C7033
Tritanopia (blue-blind)
#008172
Achromatopsia (no color)
#737373

Design tokens & code

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

Semantic roles & 50–950 ramp

primary
#22852B
secondary
#B64DAC
accent
#45D4E2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #22852B

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

Preview Lab → · Contrast checker → · Palette generator →

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