#22801F#22801F

#22801F is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.6% C 0.158 H 142.6°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#22801F
RGBrgb(34, 128, 31)
HSLhsl(118, 61%, 31%)
HSVhsv(118, 76%, 50%)
CMYKcmyk(73.4%, 0%, 75.8%, 49.8%)
CIE-LABlab(46.81, -46.05, 42.34)
CIE-LCHlch(46.81, 62.55, 137.41°)
OKLaboklab(52.64% -0.1252 0.0958)
OKLCHoklch(52.64% 0.158 142.6)
XYZxyz(8.6257, 15.8764, 3.9059)
Luminance0.1588 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22801F #7D1F80
analogous
#52801F #22801F #1F804C
triadic
#22801F #1F2280 #801F22
tetradic
#22801F #1F5280 #7D1F80 #804C1F
square
#22801F #1F5280 #7D1F80 #804C1F
split-complementary
#22801F #4C1F80 #801F52
monochromatic
#081D07 #154F13 #22801F #2FB12B #4BD247

Accessibility & contrast

On white

5.03
#22801F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#22801F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #22801F
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22801F#FFFFFF#000000##FFFFFF
##22801F1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83730D
Deuteranopia (green-blind)
#786C29
Tritanopia (blue-blind)
#047C6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #22801f;
/* rgb */ color: rgb(34, 128, 31);
/* oklch */ color: oklch(52.6% 0.158 142.6);
Tailwind
colors: {
  custom: {
    50: '#6da661',
    500: '#22801f',
    950: '#000000',
  },
}
SCSS
$custom: #22801f;
$custom-light: #6da661;
$custom-dark: #000000;
JSON
{
  "hex": "#22801f",
  "rgb": {
    "r": 34,
    "g": 128,
    "b": 31
  },
  "hsl": {
    "h": 118.144,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52635,
    "c": 0.15764,
    "h": 142.6
  },
  "luminance": 0.15877
}

Semantic roles & 50–950 ramp

primary
#22801F
secondary
#B048B3
accent
#44E4DF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #22801F

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

Preview Lab → · Contrast checker → · Palette generator →

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