#286522#286522

#286522 is a mid, moderate green. Relative luminance 0.099; OKLCH L 45.1% C 0.118 H 141.9°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#286522
RGBrgb(40, 101, 34)
HSLhsl(115, 50%, 26%)
HSVhsv(115, 66%, 40%)
CMYKcmyk(60.4%, 0%, 66.3%, 60.4%)
CIE-LABlab(37.61, -34.05, 31.29)
CIE-LCHlch(37.61, 46.24, 137.42°)
OKLaboklab(45.08% -0.0929 0.0729)
OKLCHoklch(45.08% 0.118 141.9)
XYZxyz(5.8172, 9.8735, 3.1123)
Luminance0.0987 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286522 #5F2265
analogous
#4A6522 #286522 #22653E
triadic
#286522 #222865 #652228
tetradic
#286522 #224A65 #5F2265 #653E22
square
#286522 #224A65 #5F2265 #653E22
split-complementary
#286522 #3E2265 #65224A
monochromatic
#091708 #163713 #286522 #3A9331 #4DBF42

Accessibility & contrast

On white

7.06
#286522 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#286522 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #286522
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286522#FFFFFF#000000##FFFFFF
##2865221.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675C1A
Deuteranopia (green-blind)
#605728
Tritanopia (blue-blind)
#1F6257
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #286522;
/* rgb */ color: rgb(40, 101, 34);
/* oklch */ color: oklch(45.1% 0.118 141.9);
Tailwind
colors: {
  custom: {
    50: '#699160',
    500: '#286522',
    950: '#000000',
  },
}
SCSS
$custom: #286522;
$custom-light: #699160;
$custom-dark: #000000;
JSON
{
  "hex": "#286522",
  "rgb": {
    "r": 40,
    "g": 101,
    "b": 34
  },
  "hsl": {
    "h": 114.627,
    "s": 49.63,
    "l": 26.471
  },
  "oklch": {
    "l": 0.45082,
    "c": 0.11807,
    "h": 141.9
  },
  "luminance": 0.09874
}

Semantic roles & 50–950 ramp

primary
#286522
secondary
#924A99
accent
#4FD9CD
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #286522

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

Preview Lab → · Contrast checker → · Palette generator →

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