#286C26#286C26

#286C26 is a mid, vivid green. Relative luminance 0.113; OKLCH L 47.2% C 0.124 H 142.8°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#286C26
RGBrgb(40, 108, 38)
HSLhsl(118, 48%, 29%)
HSVhsv(118, 65%, 42%)
CMYKcmyk(63%, 0%, 64.8%, 57.6%)
CIE-LABlab(40.11, -36.46, 32.13)
CIE-LCHlch(40.11, 48.60, 138.61°)
OKLaboklab(47.15% -0.0992 0.0751)
OKLCHoklch(47.15% 0.124 142.8)
XYZxyz(6.5871, 11.3156, 3.6703)
Luminance0.1132 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286C26 #6A266C
analogous
#4B6C26 #286C26 #266C47
triadic
#286C26 #26286C #6C2628
tetradic
#286C26 #264B6C #6A266C #6C4726
square
#286C26 #264B6C #6A266C #6C4726
split-complementary
#286C26 #47266C #6C264B
monochromatic
#081708 #173F16 #286C26 #399936 #50C04C

Accessibility & contrast

On white

6.44
#286C26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#286C26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286C26
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286C26#FFFFFF#000000##FFFFFF
##286C261.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E621E
Deuteranopia (green-blind)
#665C2C
Tritanopia (blue-blind)
#1C695D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #286c26;
/* rgb */ color: rgb(40, 108, 38);
/* oklch */ color: oklch(47.2% 0.124 142.8);
Tailwind
colors: {
  custom: {
    50: '#6a9763',
    500: '#286c26',
    950: '#000000',
  },
}
SCSS
$custom: #286c26;
$custom-light: #6a9763;
$custom-dark: #000000;
JSON
{
  "hex": "#286c26",
  "rgb": {
    "r": 40,
    "g": 108,
    "b": 38
  },
  "hsl": {
    "h": 118.286,
    "s": 47.945,
    "l": 28.627
  },
  "oklch": {
    "l": 0.47151,
    "c": 0.12441,
    "h": 142.8
  },
  "luminance": 0.11316
}

Semantic roles & 50–950 ramp

primary
#286C26
secondary
#9D4F9F
accent
#50D8D4
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070D05
muted
#7A7E7A

Preview Lab

Preview with #286C26

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

Preview Lab → · Contrast checker → · Palette generator →

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