#286719#286719

#286719 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.6% C 0.128 H 140.2°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#286719
RGBrgb(40, 103, 25)
HSLhsl(108, 61%, 25%)
HSVhsv(108, 76%, 40%)
CMYKcmyk(61.2%, 0%, 75.7%, 59.6%)
CIE-LABlab(38.24, -35.80, 36.06)
CIE-LCHlch(38.24, 50.81, 134.80°)
OKLaboklab(45.57% -0.0982 0.0818)
OKLCHoklch(45.57% 0.128 140.2)
XYZxyz(5.9005, 10.2213, 2.5815)
Luminance0.1022 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286719 #581967
analogous
#4F6719 #286719 #196731
triadic
#286719 #192867 #671928
tetradic
#286719 #194F67 #581967 #673119
square
#286719 #194F67 #581967 #673119
split-complementary
#286719 #311967 #67194F
monochromatic
#0A1906 #15360D #286719 #3B9825 #4EC931

Accessibility & contrast

On white

6.90
#286719 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#286719 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286719
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286719#FFFFFF#000000##FFFFFF
##2867191.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D0C
Deuteranopia (green-blind)
#625821
Tritanopia (blue-blind)
#206358
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #286719;
/* rgb */ color: rgb(40, 103, 25);
/* oklch */ color: oklch(45.6% 0.128 140.2);
Tailwind
colors: {
  custom: {
    50: '#6a935b',
    500: '#286719',
    950: '#000000',
  },
}
SCSS
$custom: #286719;
$custom-light: #6a935b;
$custom-dark: #000000;
JSON
{
  "hex": "#286719",
  "rgb": {
    "r": 40,
    "g": 103,
    "b": 25
  },
  "hsl": {
    "h": 108.462,
    "s": 60.938,
    "l": 25.098
  },
  "oklch": {
    "l": 0.45569,
    "c": 0.12778,
    "h": 140.2
  },
  "luminance": 0.10222
}

Semantic roles & 50–950 ramp

primary
#286719
secondary
#8B3F9D
accent
#44E4C5
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #286719

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

Preview Lab → · Contrast checker → · Palette generator →

#286719 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva