#287622#287622

#287622 is a mid, vivid green. Relative luminance 0.135; OKLCH L 50.0% C 0.141 H 142.1°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#287622
RGBrgb(40, 118, 34)
HSLhsl(116, 55%, 30%)
HSVhsv(116, 71%, 46%)
CMYKcmyk(66.1%, 0%, 71.2%, 53.7%)
CIE-LABlab(43.54, -40.84, 37.76)
CIE-LCHlch(43.54, 55.62, 137.25°)
OKLaboklab(49.98% -0.1112 0.0866)
OKLCHoklch(49.98% 0.141 142.1)
XYZxyz(7.6418, 13.5227, 3.7205)
Luminance0.1352 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287622 #702276
analogous
#527622 #287622 #227646
triadic
#287622 #222876 #762228
tetradic
#287622 #225276 #702276 #764622
square
#287622 #225276 #702276 #764622
split-complementary
#287622 #462276 #762252
monochromatic
#081807 #184614 #287622 #38A630 #51CA48

Accessibility & contrast

On white

5.67
#287622 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#287622 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287622
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287622#FFFFFF#000000##FFFFFF
##2876221.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B16
Deuteranopia (green-blind)
#6F642A
Tritanopia (blue-blind)
#197265
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #287622;
/* rgb */ color: rgb(40, 118, 34);
/* oklch */ color: oklch(50.0% 0.141 142.1);
Tailwind
colors: {
  custom: {
    50: '#6d9e62',
    500: '#287622',
    950: '#000000',
  },
}
SCSS
$custom: #287622;
$custom-light: #6d9e62;
$custom-dark: #000000;
JSON
{
  "hex": "#287622",
  "rgb": {
    "r": 40,
    "g": 118,
    "b": 34
  },
  "hsl": {
    "h": 115.714,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.49976,
    "c": 0.14098,
    "h": 142.1
  },
  "luminance": 0.13523
}

Semantic roles & 50–950 ramp

primary
#287622
secondary
#A24BA9
accent
#49DFD4
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E05
muted
#7B7E7A

Preview Lab

Preview with #287622

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

Preview Lab → · Contrast checker → · Palette generator →

#287622 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva