#286D26#286D26

#286D26 is a mid, vivid green. Relative luminance 0.115; OKLCH L 47.4% C 0.126 H 142.8°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#286D26
RGBrgb(40, 109, 38)
HSLhsl(118, 48%, 29%)
HSVhsv(118, 65%, 43%)
CMYKcmyk(63.3%, 0%, 65.1%, 57.3%)
CIE-LABlab(40.46, -36.87, 32.52)
CIE-LCHlch(40.46, 49.16, 138.58°)
OKLaboklab(47.44% -0.1003 0.076)
OKLCHoklch(47.44% 0.126 142.8)
XYZxyz(6.6932, 11.5277, 3.7057)
Luminance0.1153 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286D26 #6B266D
analogous
#4C6D26 #286D26 #266D48
triadic
#286D26 #26286D #6D2628
tetradic
#286D26 #264C6D #6B266D #6D4826
square
#286D26 #264C6D #6B266D #6D4826
split-complementary
#286D26 #48266D #6D264C
monochromatic
#081708 #174016 #286D26 #399A36 #50C14D

Accessibility & contrast

On white

6.35
#286D26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#286D26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286D26
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286D26#FFFFFF#000000##FFFFFF
##286D261.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F631E
Deuteranopia (green-blind)
#675D2C
Tritanopia (blue-blind)
#1C6A5E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #286d26;
/* rgb */ color: rgb(40, 109, 38);
/* oklch */ color: oklch(47.4% 0.126 142.8);
Tailwind
colors: {
  custom: {
    50: '#6b9763',
    500: '#286d26',
    950: '#000000',
  },
}
SCSS
$custom: #286d26;
$custom-light: #6b9763;
$custom-dark: #000000;
JSON
{
  "hex": "#286d26",
  "rgb": {
    "r": 40,
    "g": 109,
    "b": 38
  },
  "hsl": {
    "h": 118.31,
    "s": 48.299,
    "l": 28.824
  },
  "oklch": {
    "l": 0.47439,
    "c": 0.1258,
    "h": 142.8
  },
  "luminance": 0.11528
}

Semantic roles & 50–950 ramp

primary
#286D26
secondary
#9D4FA0
accent
#50D8D4
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E05
muted
#7A7E7A

Preview Lab

Preview with #286D26

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

Preview Lab → · Contrast checker → · Palette generator →

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