#22851A#22851A

#22851A is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.0% C 0.166 H 142.0°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#22851A
RGBrgb(34, 133, 26)
HSLhsl(116, 67%, 31%)
HSVhsv(116, 80%, 52%)
CMYKcmyk(74.4%, 0%, 80.5%, 47.8%)
CIE-LABlab(48.50, -48.16, 45.80)
CIE-LCHlch(48.50, 66.46, 136.44°)
OKLaboklab(54.02% -0.1311 0.1023)
OKLCHoklch(54.02% 0.166 142)
XYZxyz(9.2331, 17.1887, 3.8082)
Luminance0.1719 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22851A #7D1A85
analogous
#57851A #22851A #1A8547
triadic
#22851A #1A2285 #851A22
tetradic
#22851A #1A5785 #7D1A85 #85471A
square
#22851A #1A5785 #7D1A85 #85471A
split-complementary
#22851A #471A85 #851A57
monochromatic
#081F06 #155210 #22851A #2FB824 #4BDA40

Accessibility & contrast

On white

4.73
#22851A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#22851A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #22851A
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22851A#FFFFFF#000000##FFFFFF
##22851A1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#7D7027
Tritanopia (blue-blind)
#018171
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #22851a;
/* rgb */ color: rgb(34, 133, 26);
/* oklch */ color: oklch(54.0% 0.166 142.0);
Tailwind
colors: {
  custom: {
    50: '#6eaa60',
    500: '#22851a',
    950: '#000000',
  },
}
SCSS
$custom: #22851a;
$custom-light: #6eaa60;
$custom-dark: #000000;
JSON
{
  "hex": "#22851a",
  "rgb": {
    "r": 34,
    "g": 133,
    "b": 26
  },
  "hsl": {
    "h": 115.514,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54024,
    "c": 0.16633,
    "h": 142
  },
  "luminance": 0.1719
}

Semantic roles & 50–950 ramp

primary
#22851A
secondary
#B042B8
accent
#3EEADD
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #22851A

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

Preview Lab → · Contrast checker → · Palette generator →

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