#22681F#22681F

#22681F is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.7% C 0.127 H 142.6°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#22681F
RGBrgb(34, 104, 31)
HSLhsl(118, 54%, 26%)
HSVhsv(118, 70%, 41%)
CMYKcmyk(67.3%, 0%, 70.2%, 59.2%)
CIE-LABlab(38.44, -37.18, 33.58)
CIE-LCHlch(38.44, 50.10, 137.92°)
OKLaboklab(45.7% -0.1011 0.0775)
OKLCHoklch(45.7% 0.127 142.6)
XYZxyz(5.8570, 10.3391, 2.9830)
Luminance0.1034 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22681F #651F68
analogous
#47681F #22681F #1F6841
triadic
#22681F #1F2268 #681F22
tetradic
#22681F #1F4768 #651F68 #68411F
square
#22681F #1F4768 #651F68 #68411F
split-complementary
#22681F #411F68 #681F47
monochromatic
#081807 #133911 #22681F #31972D #42C53C

Accessibility & contrast

On white

6.84
#22681F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#22681F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #22681F
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22681F#FFFFFF#000000##FFFFFF
##22681F1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E15
Deuteranopia (green-blind)
#625826
Tritanopia (blue-blind)
#146559
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #22681f;
/* rgb */ color: rgb(34, 104, 31);
/* oklch */ color: oklch(45.7% 0.127 142.6);
Tailwind
colors: {
  custom: {
    50: '#67945e',
    500: '#22681f',
    950: '#000000',
  },
}
SCSS
$custom: #22681f;
$custom-light: #67945e;
$custom-dark: #000000;
JSON
{
  "hex": "#22681f",
  "rgb": {
    "r": 34,
    "g": 104,
    "b": 31
  },
  "hsl": {
    "h": 117.534,
    "s": 54.074,
    "l": 26.471
  },
  "oklch": {
    "l": 0.45702,
    "c": 0.1274,
    "h": 142.6
  },
  "luminance": 0.1034
}

Semantic roles & 50–950 ramp

primary
#22681F
secondary
#99469C
accent
#4ADDD7
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #22681F

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

Preview Lab → · Contrast checker → · Palette generator →

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