#286914#286914

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

Color values

HEX#286914
RGBrgb(40, 105, 20)
HSLhsl(106, 68%, 25%)
HSVhsv(106, 81%, 41%)
CMYKcmyk(61.9%, 0%, 81%, 58.8%)
CIE-LABlab(38.91, -37.00, 38.67)
CIE-LCHlch(38.91, 53.52, 133.73°)
OKLaboklab(46.11% -0.1017 0.0865)
OKLCHoklch(46.11% 0.134 139.6)
XYZxyz(6.0527, 10.6042, 2.3895)
Luminance0.1061 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286914 #551469
analogous
#536914 #286914 #14692A
triadic
#286914 #142869 #691428
tetradic
#286914 #145369 #551469 #692A14
square
#286914 #145369 #551469 #692A14
split-complementary
#286914 #2A1469 #691453
monochromatic
#0A1A05 #14360A #286914 #3C9C1E #4FD028

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##286914#FFFFFF#000000##FFFFFF
##2869141.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)
#6C5F02
Deuteranopia (green-blind)
#645A1D
Tritanopia (blue-blind)
#206559
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #286914;
/* rgb */ color: rgb(40, 105, 20);
/* oklch */ color: oklch(46.1% 0.134 139.6);
Tailwind
colors: {
  custom: {
    50: '#6b9459',
    500: '#286914',
    950: '#000000',
  },
}
SCSS
$custom: #286914;
$custom-light: #6b9459;
$custom-dark: #000000;
JSON
{
  "hex": "#286914",
  "rgb": {
    "r": 40,
    "g": 105,
    "b": 20
  },
  "hsl": {
    "h": 105.882,
    "s": 68,
    "l": 24.51
  },
  "oklch": {
    "l": 0.46111,
    "c": 0.13352,
    "h": 139.6
  },
  "luminance": 0.10605
}

Semantic roles & 50–950 ramp

primary
#286914
secondary
#8839A0
accent
#3DEBC2
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #286914

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

Preview Lab → · Contrast checker → · Palette generator →

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