#22852A#22852A

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

Color values

HEX#22852A
RGBrgb(34, 133, 42)
HSLhsl(125, 59%, 33%)
HSVhsv(125, 74%, 52%)
CMYKcmyk(74.4%, 0%, 68.4%, 47.8%)
CIE-LABlab(48.61, -46.75, 39.65)
CIE-LCHlch(48.61, 61.30, 139.70°)
OKLaboklab(54.16% -0.1265 0.0916)
OKLCHoklch(54.16% 0.156 144.1)
XYZxyz(9.4645, 17.2812, 5.0269)
Luminance0.1728 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22852A #85227D
analogous
#4C8522 #22852A #22855B
triadic
#22852A #2A2285 #852A22
tetradic
#22852A #224C85 #85227D #855B22
square
#22852A #224C85 #85227D #855B22
split-complementary
#22852A #5B2285 #85224C
monochromatic
#09240B #16541B #22852A #2EB639 #4FD25A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22852A#FFFFFF#000000##FFFFFF
##22852A1.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)
#88781E
Deuteranopia (green-blind)
#7C7032
Tritanopia (blue-blind)
#008172
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #22852a;
/* rgb */ color: rgb(34, 133, 42);
/* oklch */ color: oklch(54.2% 0.156 144.1);
Tailwind
colors: {
  custom: {
    50: '#6da968',
    500: '#22852a',
    950: '#000000',
  },
}
SCSS
$custom: #22852a;
$custom-light: #6da968;
$custom-dark: #000000;
JSON
{
  "hex": "#22852a",
  "rgb": {
    "r": 34,
    "g": 133,
    "b": 42
  },
  "hsl": {
    "h": 124.848,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54157,
    "c": 0.1562,
    "h": 144.1
  },
  "luminance": 0.17282
}

Semantic roles & 50–950 ramp

primary
#22852A
secondary
#B64DAD
accent
#45D6E2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #22852A

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

Preview Lab → · Contrast checker → · Palette generator →

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