#286223#286223

#286223 is a dark, moderate green. Relative luminance 0.093; OKLCH L 44.2% C 0.113 H 142.1°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#286223
RGBrgb(40, 98, 35)
HSLhsl(115, 47%, 26%)
HSVhsv(115, 64%, 38%)
CMYKcmyk(59.2%, 0%, 64.3%, 61.6%)
CIE-LABlab(36.57, -32.66, 29.61)
CIE-LCHlch(36.57, 44.08, 137.81°)
OKLaboklab(44.22% -0.089 0.0694)
OKLCHoklch(44.22% 0.113 142.1)
XYZxyz(5.5459, 9.3074, 3.0940)
Luminance0.0931 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286223 #5D2362
analogous
#476223 #286223 #23623D
triadic
#286223 #232862 #622328
tetradic
#286223 #234762 #5D2362 #623D23
square
#286223 #234762 #5D2362 #623D23
split-complementary
#286223 #3D2362 #622347
monochromatic
#091708 #163513 #286223 #3A8F33 #4DBC43

Accessibility & contrast

On white

7.34
#286223 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#286223 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #286223
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286223#FFFFFF#000000##FFFFFF
##2862231.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64591C
Deuteranopia (green-blind)
#5D5428
Tritanopia (blue-blind)
#205F54
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #286223;
/* rgb */ color: rgb(40, 98, 35);
/* oklch */ color: oklch(44.2% 0.113 142.1);
Tailwind
colors: {
  custom: {
    50: '#698f60',
    500: '#286223',
    950: '#000000',
  },
}
SCSS
$custom: #286223;
$custom-light: #698f60;
$custom-dark: #000000;
JSON
{
  "hex": "#286223",
  "rgb": {
    "r": 40,
    "g": 98,
    "b": 35
  },
  "hsl": {
    "h": 115.238,
    "s": 47.368,
    "l": 26.078
  },
  "oklch": {
    "l": 0.44225,
    "c": 0.1129,
    "h": 142.1
  },
  "luminance": 0.09308
}

Semantic roles & 50–950 ramp

primary
#286223
secondary
#904B96
accent
#51D7CC
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#070C05
muted
#7A7D79

Preview Lab

Preview with #286223

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

Preview Lab → · Contrast checker → · Palette generator →

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