#22951F#22951F

#22951F is a mid, vivid green. Relative luminance 0.219; OKLCH L 58.6% C 0.182 H 142.6°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#22951F
RGBrgb(34, 149, 31)
HSLhsl(118, 66%, 35%)
HSVhsv(118, 79%, 58%)
CMYKcmyk(77.2%, 0%, 79.2%, 41.6%)
CIE-LABlab(53.96, -53.14, 49.40)
CIE-LCHlch(53.96, 72.55, 137.09°)
OKLaboklab(58.57% -0.1444 0.1106)
OKLCHoklch(58.57% 0.182 142.6)
XYZxyz(11.6537, 21.9325, 4.9153)
Luminance0.2193 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22951F #921F95
analogous
#5D951F #22951F #1F9557
triadic
#22951F #1F2295 #951F22
tetradic
#22951F #1F5D95 #921F95 #95571F
square
#22951F #1F5D95 #921F95 #95571F
split-complementary
#22951F #571F95 #951F5D
monochromatic
#0B300A #166214 #22951F #2EC82A #57DB53

Accessibility & contrast

On white

3.90
#22951F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#22951F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #22951F
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22951F#FFFFFF#000000##000000
##22951F1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#8C7E2D
Tritanopia (blue-blind)
#00907F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #22951f;
/* rgb */ color: rgb(34, 149, 31);
/* oklch */ color: oklch(58.6% 0.182 142.6);
Tailwind
colors: {
  custom: {
    50: '#72b564',
    500: '#22951f',
    950: '#000000',
  },
}
SCSS
$custom: #22951f;
$custom-light: #72b564;
$custom-dark: #000000;
JSON
{
  "hex": "#22951f",
  "rgb": {
    "r": 34,
    "g": 149,
    "b": 31
  },
  "hsl": {
    "h": 118.475,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58568,
    "c": 0.18184,
    "h": 142.6
  },
  "luminance": 0.21934
}

Semantic roles & 50–950 ramp

primary
#22951F
secondary
#BC51BF
accent
#3FE9E4
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #22951F

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

Preview Lab → · Contrast checker → · Palette generator →

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