#22631B#22631B

#22631B is a dark, vivid green. Relative luminance 0.093; OKLCH L 44.2% C 0.124 H 141.7°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#22631B
RGBrgb(34, 99, 27)
HSLhsl(114, 57%, 25%)
HSVhsv(114, 73%, 39%)
CMYKcmyk(65.7%, 0%, 72.7%, 61.2%)
CIE-LABlab(36.64, -35.63, 33.46)
CIE-LCHlch(36.64, 48.87, 136.80°)
OKLaboklab(44.2% -0.0972 0.0767)
OKLCHoklch(44.2% 0.124 141.7)
XYZxyz(5.3191, 9.3424, 2.5596)
Luminance0.0934 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22631B #5C1B63
analogous
#46631B #22631B #1B6338
triadic
#22631B #1B2263 #631B22
tetradic
#22631B #1B4663 #5C1B63 #63381B
square
#22631B #1B4663 #5C1B63 #63381B
split-complementary
#22631B #381B63 #631B46
monochromatic
#081807 #11330E #22631B #339328 #43C335

Accessibility & contrast

On white

7.32
#22631B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22631B
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22631B#FFFFFF#000000##FFFFFF
##22631B1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665911
Deuteranopia (green-blind)
#5E5422
Tritanopia (blue-blind)
#176054
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #22631b;
/* rgb */ color: rgb(34, 99, 27);
/* oklch */ color: oklch(44.2% 0.124 141.7);
Tailwind
colors: {
  custom: {
    50: '#66905c',
    500: '#22631b',
    950: '#000000',
  },
}
SCSS
$custom: #22631b;
$custom-light: #66905c;
$custom-dark: #000000;
JSON
{
  "hex": "#22631b",
  "rgb": {
    "r": 34,
    "g": 99,
    "b": 27
  },
  "hsl": {
    "h": 114.167,
    "s": 57.143,
    "l": 24.706
  },
  "oklch": {
    "l": 0.44195,
    "c": 0.12379,
    "h": 141.7
  },
  "luminance": 0.09343
}

Semantic roles & 50–950 ramp

primary
#22631B
secondary
#904198
accent
#47E0D2
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #22631B

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

Preview Lab → · Contrast checker → · Palette generator →

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