#286E1B#286E1B

#286E1B is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.6% C 0.136 H 140.8°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#286E1B
RGBrgb(40, 110, 27)
HSLhsl(111, 61%, 27%)
HSVhsv(111, 75%, 43%)
CMYKcmyk(63.6%, 0%, 75.5%, 56.9%)
CIE-LABlab(40.71, -38.40, 37.76)
CIE-LCHlch(40.71, 53.86, 135.49°)
OKLaboklab(47.61% -0.1051 0.0856)
OKLCHoklch(47.61% 0.136 140.8)
XYZxyz(6.6485, 11.6815, 2.9411)
Luminance0.1168 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286E1B #611B6E
analogous
#526E1B #286E1B #1B6E37
triadic
#286E1B #1B286E #6E1B28
tetradic
#286E1B #1B526E #611B6E #6E371B
square
#286E1B #1B526E #611B6E #6E371B
split-complementary
#286E1B #371B6E #6E1B52
monochromatic
#091906 #163D0F #286E1B #3A9F27 #4ECE36

Accessibility & contrast

On white

6.29
#286E1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#286E1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286E1B
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286E1B#FFFFFF#000000##FFFFFF
##286E1B1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71640D
Deuteranopia (green-blind)
#685E23
Tritanopia (blue-blind)
#1E6A5E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #286e1b;
/* rgb */ color: rgb(40, 110, 27);
/* oklch */ color: oklch(47.6% 0.136 140.8);
Tailwind
colors: {
  custom: {
    50: '#6b985d',
    500: '#286e1b',
    950: '#000000',
  },
}
SCSS
$custom: #286e1b;
$custom-light: #6b985d;
$custom-dark: #000000;
JSON
{
  "hex": "#286e1b",
  "rgb": {
    "r": 40,
    "g": 110,
    "b": 27
  },
  "hsl": {
    "h": 110.602,
    "s": 60.584,
    "l": 26.863
  },
  "oklch": {
    "l": 0.47613,
    "c": 0.13557,
    "h": 140.8
  },
  "luminance": 0.11682
}

Semantic roles & 50–950 ramp

primary
#286E1B
secondary
#9442A3
accent
#44E4CB
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #286E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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