#286617#286617

#286617 is a mid, vivid green. Relative luminance 0.100; OKLCH L 45.3% C 0.128 H 139.8°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#286617
RGBrgb(40, 102, 23)
HSLhsl(107, 63%, 25%)
HSVhsv(107, 77%, 40%)
CMYKcmyk(60.8%, 0%, 77.5%, 60%)
CIE-LABlab(37.87, -35.57, 36.50)
CIE-LCHlch(37.87, 50.96, 134.26°)
OKLaboklab(45.26% -0.0977 0.0824)
OKLCHoklch(45.26% 0.128 139.8)
XYZxyz(5.7808, 10.0152, 2.4389)
Luminance0.1002 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286617 #551766
analogous
#506617 #286617 #17662E
triadic
#286617 #172866 #661728
tetradic
#286617 #175066 #551766 #662E17
square
#286617 #175066 #551766 #662E17
split-complementary
#286617 #2E1766 #661750
monochromatic
#0A1906 #14340C #286617 #3C9822 #4FCA2E

Accessibility & contrast

On white

6.99
#286617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#286617 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286617
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286617#FFFFFF#000000##FFFFFF
##2866171.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C08
Deuteranopia (green-blind)
#61571F
Tritanopia (blue-blind)
#216257
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #286617;
/* rgb */ color: rgb(40, 102, 23);
/* oklch */ color: oklch(45.3% 0.128 139.8);
Tailwind
colors: {
  custom: {
    50: '#6a925a',
    500: '#286617',
    950: '#000000',
  },
}
SCSS
$custom: #286617;
$custom-light: #6a925a;
$custom-dark: #000000;
JSON
{
  "hex": "#286617",
  "rgb": {
    "r": 40,
    "g": 102,
    "b": 23
  },
  "hsl": {
    "h": 107.089,
    "s": 63.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.45262,
    "c": 0.12781,
    "h": 139.8
  },
  "luminance": 0.10016
}

Semantic roles & 50–950 ramp

primary
#286617
secondary
#883C9C
accent
#42E6C3
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #286617

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

Preview Lab → · Contrast checker → · Palette generator →

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