#286022#286022

#286022 is a dark, moderate green. Relative luminance 0.089; OKLCH L 43.6% C 0.111 H 141.8°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#286022
RGBrgb(40, 96, 34)
HSLhsl(114, 48%, 25%)
HSVhsv(114, 65%, 38%)
CMYKcmyk(58.3%, 0%, 64.6%, 62.4%)
CIE-LABlab(35.85, -31.93, 29.30)
CIE-LCHlch(35.85, 43.33, 137.46°)
OKLaboklab(43.63% -0.0871 0.0687)
OKLCHoklch(43.63% 0.111 141.8)
XYZxyz(5.3464, 8.9319, 2.9554)
Luminance0.0893 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286022 #5A2260
analogous
#476022 #286022 #22603B
triadic
#286022 #222860 #602228
tetradic
#286022 #224760 #5A2260 #603B22
square
#286022 #224760 #5A2260 #603B22
split-complementary
#286022 #3B2260 #602247
monochromatic
#091708 #153312 #286022 #3B8D32 #4EBA42

Accessibility & contrast

On white

7.54
#286022 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#286022 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #286022
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286022#FFFFFF#000000##FFFFFF
##2860221.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62571B
Deuteranopia (green-blind)
#5B5227
Tritanopia (blue-blind)
#205D53
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #286022;
/* rgb */ color: rgb(40, 96, 34);
/* oklch */ color: oklch(43.6% 0.111 141.8);
Tailwind
colors: {
  custom: {
    50: '#688e60',
    500: '#286022',
    950: '#000000',
  },
}
SCSS
$custom: #286022;
$custom-light: #688e60;
$custom-dark: #000000;
JSON
{
  "hex": "#286022",
  "rgb": {
    "r": 40,
    "g": 96,
    "b": 34
  },
  "hsl": {
    "h": 114.194,
    "s": 47.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.43631,
    "c": 0.11091,
    "h": 141.8
  },
  "luminance": 0.08932
}

Semantic roles & 50–950 ramp

primary
#286022
secondary
#8D4A94
accent
#51D7CA
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C05
muted
#7A7D79

Preview Lab

Preview with #286022

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

Preview Lab → · Contrast checker → · Palette generator →

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