#286722#286722

#286722 is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.7% C 0.121 H 141.9°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#286722
RGBrgb(40, 103, 34)
HSLhsl(115, 50%, 27%)
HSVhsv(115, 67%, 40%)
CMYKcmyk(61.2%, 0%, 67%, 59.6%)
CIE-LABlab(38.32, -34.89, 32.07)
CIE-LCHlch(38.32, 47.39, 137.41°)
OKLaboklab(45.66% -0.0951 0.0746)
OKLCHoklch(45.66% 0.121 141.9)
XYZxyz(6.0137, 10.2666, 3.1778)
Luminance0.1027 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286722 #612267
analogous
#4B6722 #286722 #22673F
triadic
#286722 #222867 #672228
tetradic
#286722 #224B67 #612267 #673F22
square
#286722 #224B67 #612267 #673F22
split-complementary
#286722 #3F2267 #67224B
monochromatic
#091708 #163913 #286722 #3A9531 #4EC143

Accessibility & contrast

On white

6.88
#286722 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#286722 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286722
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286722#FFFFFF#000000##FFFFFF
##2867221.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D1A
Deuteranopia (green-blind)
#625828
Tritanopia (blue-blind)
#1F6458
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #286722;
/* rgb */ color: rgb(40, 103, 34);
/* oklch */ color: oklch(45.7% 0.121 141.9);
Tailwind
colors: {
  custom: {
    50: '#6a9360',
    500: '#286722',
    950: '#000000',
  },
}
SCSS
$custom: #286722;
$custom-light: #6a9360;
$custom-dark: #000000;
JSON
{
  "hex": "#286722",
  "rgb": {
    "r": 40,
    "g": 103,
    "b": 34
  },
  "hsl": {
    "h": 114.783,
    "s": 50.365,
    "l": 26.863
  },
  "oklch": {
    "l": 0.45661,
    "c": 0.12088,
    "h": 141.9
  },
  "luminance": 0.10267
}

Semantic roles & 50–950 ramp

primary
#286722
secondary
#944A9B
accent
#4EDACE
background
#F6F9F5
surface
#EBF1EA
border
#C6CBC6
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #286722

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

Preview Lab → · Contrast checker → · Palette generator →

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