#286E26#286E26

#286E26 is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.7% C 0.127 H 142.8°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#286E26
RGBrgb(40, 110, 38)
HSLhsl(118, 49%, 29%)
HSVhsv(118, 65%, 43%)
CMYKcmyk(63.6%, 0%, 65.5%, 56.9%)
CIE-LABlab(40.80, -37.27, 32.92)
CIE-LCHlch(40.80, 49.72, 138.55°)
OKLaboklab(47.73% -0.1013 0.0768)
OKLCHoklch(47.73% 0.127 142.8)
XYZxyz(6.8005, 11.7423, 3.7415)
Luminance0.1174 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286E26 #6C266E
analogous
#4C6E26 #286E26 #266E48
triadic
#286E26 #26286E #6E2628
tetradic
#286E26 #264C6E #6C266E #6E4826
square
#286E26 #264C6E #6C266E #6E4826
split-complementary
#286E26 #48266E #6E264C
monochromatic
#081708 #174116 #286E26 #399B36 #50C14D

Accessibility & contrast

On white

6.27
#286E26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#286E26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286E26
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286E26#FFFFFF#000000##FFFFFF
##286E261.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70641E
Deuteranopia (green-blind)
#685E2C
Tritanopia (blue-blind)
#1B6B5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #286e26;
/* rgb */ color: rgb(40, 110, 38);
/* oklch */ color: oklch(47.7% 0.127 142.8);
Tailwind
colors: {
  custom: {
    50: '#6b9863',
    500: '#286e26',
    950: '#000000',
  },
}
SCSS
$custom: #286e26;
$custom-light: #6b9863;
$custom-dark: #000000;
JSON
{
  "hex": "#286e26",
  "rgb": {
    "r": 40,
    "g": 110,
    "b": 38
  },
  "hsl": {
    "h": 118.333,
    "s": 48.649,
    "l": 29.02
  },
  "oklch": {
    "l": 0.47726,
    "c": 0.12717,
    "h": 142.8
  },
  "luminance": 0.11743
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #286E26

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

Preview Lab → · Contrast checker → · Palette generator →

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