#286915#286915

#286915 is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.1% C 0.133 H 139.7°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#286915
RGBrgb(40, 105, 21)
HSLhsl(106, 67%, 25%)
HSVhsv(106, 80%, 41%)
CMYKcmyk(61.9%, 0%, 80%, 58.8%)
CIE-LABlab(38.91, -36.92, 38.31)
CIE-LCHlch(38.91, 53.21, 133.94°)
OKLaboklab(46.12% -0.1015 0.0859)
OKLCHoklch(46.12% 0.133 139.7)
XYZxyz(6.0617, 10.6079, 2.4374)
Luminance0.1061 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286915 #561569
analogous
#526915 #286915 #15692C
triadic
#286915 #152869 #691528
tetradic
#286915 #155269 #561569 #692C15
square
#286915 #155269 #561569 #692C15
split-complementary
#286915 #2C1569 #691552
monochromatic
#0A1A05 #15360B #286915 #3B9C1F #4FCF29

Accessibility & contrast

On white

6.73
#286915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#286915 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286915
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286915#FFFFFF#000000##FFFFFF
##2869151.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F03
Deuteranopia (green-blind)
#645A1E
Tritanopia (blue-blind)
#206559
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #286915;
/* rgb */ color: rgb(40, 105, 21);
/* oklch */ color: oklch(46.1% 0.133 139.7);
Tailwind
colors: {
  custom: {
    50: '#6b9459',
    500: '#286915',
    950: '#000000',
  },
}
SCSS
$custom: #286915;
$custom-light: #6b9459;
$custom-dark: #000000;
JSON
{
  "hex": "#286915",
  "rgb": {
    "r": 40,
    "g": 105,
    "b": 21
  },
  "hsl": {
    "h": 106.429,
    "s": 66.667,
    "l": 24.706
  },
  "oklch": {
    "l": 0.46118,
    "c": 0.13294,
    "h": 139.7
  },
  "luminance": 0.10608
}

Semantic roles & 50–950 ramp

primary
#286915
secondary
#893AA0
accent
#3EEAC3
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #286915

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

Preview Lab → · Contrast checker → · Palette generator →

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