#286B26#286B26

#286B26 is a mid, vivid green. Relative luminance 0.111; OKLCH L 46.9% C 0.123 H 142.8°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#286B26
RGBrgb(40, 107, 38)
HSLhsl(118, 48%, 28%)
HSVhsv(118, 64%, 42%)
CMYKcmyk(62.6%, 0%, 64.5%, 58%)
CIE-LABlab(39.76, -36.05, 31.73)
CIE-LCHlch(39.76, 48.03, 138.65°)
OKLaboklab(46.86% -0.0981 0.0743)
OKLCHoklch(46.86% 0.123 142.8)
XYZxyz(6.4823, 11.1059, 3.6354)
Luminance0.1111 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286B26 #69266B
analogous
#4A6B26 #286B26 #266B46
triadic
#286B26 #26286B #6B2628
tetradic
#286B26 #264A6B #69266B #6B4626
square
#286B26 #264A6B #69266B #6B4626
split-complementary
#286B26 #46266B #6B264A
monochromatic
#081708 #173E16 #286B26 #399836 #4FBF4C

Accessibility & contrast

On white

6.52
#286B26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#286B26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286B26
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286B26#FFFFFF#000000##FFFFFF
##286B261.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D611E
Deuteranopia (green-blind)
#655B2C
Tritanopia (blue-blind)
#1C685C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #286b26;
/* rgb */ color: rgb(40, 107, 38);
/* oklch */ color: oklch(46.9% 0.123 142.8);
Tailwind
colors: {
  custom: {
    50: '#6a9663',
    500: '#286b26',
    950: '#000000',
  },
}
SCSS
$custom: #286b26;
$custom-light: #6a9663;
$custom-dark: #000000;
JSON
{
  "hex": "#286b26",
  "rgb": {
    "r": 40,
    "g": 107,
    "b": 38
  },
  "hsl": {
    "h": 118.261,
    "s": 47.586,
    "l": 28.431
  },
  "oklch": {
    "l": 0.46863,
    "c": 0.12303,
    "h": 142.8
  },
  "luminance": 0.11106
}

Semantic roles & 50–950 ramp

primary
#286B26
secondary
#9C4F9E
accent
#51D7D3
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070D05
muted
#7A7E7A

Preview Lab

Preview with #286B26

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

Preview Lab → · Contrast checker → · Palette generator →

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