#286A26#286A26

#286A26 is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.6% C 0.122 H 142.9°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#286A26
RGBrgb(40, 106, 38)
HSLhsl(118, 47%, 28%)
HSVhsv(118, 64%, 42%)
CMYKcmyk(62.3%, 0%, 64.2%, 58.4%)
CIE-LABlab(39.41, -35.64, 31.34)
CIE-LCHlch(39.41, 47.46, 138.68°)
OKLaboklab(46.58% -0.0969 0.0735)
OKLCHoklch(46.58% 0.122 142.9)
XYZxyz(6.3786, 10.8985, 3.6008)
Luminance0.1090 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286A26 #68266A
analogous
#4A6A26 #286A26 #266A46
triadic
#286A26 #26286A #6A2628
tetradic
#286A26 #264A6A #68266A #6A4626
square
#286A26 #264A6A #68266A #6A4626
split-complementary
#286A26 #46266A #6A264A
monochromatic
#091708 #173D16 #286A26 #399736 #4FBF4C

Accessibility & contrast

On white

6.60
#286A26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#286A26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286A26
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286A26#FFFFFF#000000##FFFFFF
##286A261.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C601F
Deuteranopia (green-blind)
#645B2C
Tritanopia (blue-blind)
#1D675B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #286a26;
/* rgb */ color: rgb(40, 106, 38);
/* oklch */ color: oklch(46.6% 0.122 142.9);
Tailwind
colors: {
  custom: {
    50: '#6a9563',
    500: '#286a26',
    950: '#000000',
  },
}
SCSS
$custom: #286a26;
$custom-light: #6a9563;
$custom-dark: #000000;
JSON
{
  "hex": "#286a26",
  "rgb": {
    "r": 40,
    "g": 106,
    "b": 38
  },
  "hsl": {
    "h": 118.235,
    "s": 47.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.46575,
    "c": 0.12163,
    "h": 142.9
  },
  "luminance": 0.10899
}

Semantic roles & 50–950 ramp

primary
#286A26
secondary
#9B4F9D
accent
#51D7D3
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070D05
muted
#7A7E7A

Preview Lab

Preview with #286A26

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

Preview Lab → · Contrast checker → · Palette generator →

#286A26 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva