#22631F#22631F

#22631F is a dark, vivid green. Relative luminance 0.094; OKLCH L 44.2% C 0.121 H 142.5°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#22631F
RGBrgb(34, 99, 31)
HSLhsl(117, 52%, 25%)
HSVhsv(117, 69%, 39%)
CMYKcmyk(65.7%, 0%, 68.7%, 61.2%)
CIE-LABlab(36.67, -35.19, 31.64)
CIE-LCHlch(36.67, 47.33, 138.04°)
OKLaboklab(44.24% -0.0958 0.0734)
OKLCHoklch(44.24% 0.121 142.5)
XYZxyz(5.3686, 9.3622, 2.8202)
Luminance0.0936 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22631F #601F63
analogous
#44631F #22631F #1F633E
triadic
#22631F #1F2263 #631F22
tetradic
#22631F #1F4463 #601F63 #633E1F
square
#22631F #1F4463 #601F63 #633E1F
split-complementary
#22631F #3E1F63 #631F44
monochromatic
#081707 #123410 #22631F #32922E #42C03C

Accessibility & contrast

On white

7.31
#22631F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#22631F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22631F
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22631F#FFFFFF#000000##FFFFFF
##22631F1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655A17
Deuteranopia (green-blind)
#5D5425
Tritanopia (blue-blind)
#166055
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #22631f;
/* rgb */ color: rgb(34, 99, 31);
/* oklch */ color: oklch(44.2% 0.121 142.5);
Tailwind
colors: {
  custom: {
    50: '#66905e',
    500: '#22631f',
    950: '#000000',
  },
}
SCSS
$custom: #22631f;
$custom-light: #66905e;
$custom-dark: #000000;
JSON
{
  "hex": "#22631f",
  "rgb": {
    "r": 34,
    "g": 99,
    "b": 31
  },
  "hsl": {
    "h": 117.353,
    "s": 52.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.44237,
    "c": 0.12064,
    "h": 142.5
  },
  "luminance": 0.09363
}

Semantic roles & 50–950 ramp

primary
#22631F
secondary
#944698
accent
#4CDCD5
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #22631F

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

Preview Lab → · Contrast checker → · Palette generator →

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