#22851B#22851B

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

Color values

HEX#22851B
RGBrgb(34, 133, 27)
HSLhsl(116, 66%, 31%)
HSVhsv(116, 80%, 52%)
CMYKcmyk(74.4%, 0%, 79.7%, 47.8%)
CIE-LABlab(48.50, -48.09, 45.46)
CIE-LCHlch(48.50, 66.18, 136.61°)
OKLaboklab(54.03% -0.1309 0.1018)
OKLCHoklch(54.03% 0.166 142.1)
XYZxyz(9.2445, 17.1932, 3.8681)
Luminance0.1719 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22851B #7E1B85
analogous
#57851B #22851B #1B8549
triadic
#22851B #1B2285 #851B22
tetradic
#22851B #1B5785 #7E1B85 #85491B
square
#22851B #1B5785 #7E1B85 #85491B
split-complementary
#22851B #491B85 #851B57
monochromatic
#081F06 #155211 #22851B #2FB825 #4CD942

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22851B#FFFFFF#000000##FFFFFF
##22851B1.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)
#887801
Deuteranopia (green-blind)
#7D7027
Tritanopia (blue-blind)
#008171
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #22851b;
/* rgb */ color: rgb(34, 133, 27);
/* oklch */ color: oklch(54.0% 0.166 142.1);
Tailwind
colors: {
  custom: {
    50: '#6eaa60',
    500: '#22851b',
    950: '#000000',
  },
}
SCSS
$custom: #22851b;
$custom-light: #6eaa60;
$custom-dark: #000000;
JSON
{
  "hex": "#22851b",
  "rgb": {
    "r": 34,
    "g": 133,
    "b": 27
  },
  "hsl": {
    "h": 116.038,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5403,
    "c": 0.1658,
    "h": 142.1
  },
  "luminance": 0.17194
}

Semantic roles & 50–950 ramp

primary
#22851B
secondary
#B144B8
accent
#3FE9DE
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #22851B

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

Preview Lab → · Contrast checker → · Palette generator →

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