#22852F#22852F

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

Color values

HEX#22852F
RGBrgb(34, 133, 47)
HSLhsl(128, 59%, 33%)
HSVhsv(128, 74%, 52%)
CMYKcmyk(74.4%, 0%, 64.7%, 47.8%)
CIE-LABlab(48.66, -46.18, 37.43)
CIE-LCHlch(48.66, 59.44, 140.98°)
OKLaboklab(54.21% -0.1247 0.0874)
OKLCHoklch(54.21% 0.152 145)
XYZxyz(9.5597, 17.3193, 5.5279)
Luminance0.1732 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22852F #852278
analogous
#468522 #22852F #228560
triadic
#22852F #2F2285 #852F22
tetradic
#22852F #224685 #852278 #856022
square
#22852F #224685 #852278 #856022
split-complementary
#22852F #602285 #852246
monochromatic
#09240D #16541E #22852F #2EB640 #4FD260

Accessibility & contrast

On white

4.70
#22852F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #22852F
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22852F#FFFFFF#000000##FFFFFF
##22852F1.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22852f;
/* rgb */ color: rgb(34, 133, 47);
/* oklch */ color: oklch(54.2% 0.152 145.0);
Tailwind
colors: {
  custom: {
    50: '#6da96b',
    500: '#22852f',
    950: '#000000',
  },
}
SCSS
$custom: #22852f;
$custom-light: #6da96b;
$custom-dark: #000000;
JSON
{
  "hex": "#22852f",
  "rgb": {
    "r": 34,
    "g": 133,
    "b": 47
  },
  "hsl": {
    "h": 127.879,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54211,
    "c": 0.15233,
    "h": 145
  },
  "luminance": 0.1732
}

Semantic roles & 50–950 ramp

primary
#22852F
secondary
#B64DA8
accent
#45CEE2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #22852F

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

Preview Lab → · Contrast checker → · Palette generator →

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