#286F1B#286F1B

#286F1B is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.9% C 0.137 H 140.9°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#286F1B
RGBrgb(40, 111, 27)
HSLhsl(111, 61%, 27%)
HSVhsv(111, 76%, 44%)
CMYKcmyk(64%, 0%, 75.7%, 56.5%)
CIE-LABlab(41.05, -38.79, 38.12)
CIE-LCHlch(41.05, 54.39, 135.51°)
OKLaboklab(47.9% -0.1061 0.0864)
OKLCHoklch(47.9% 0.137 140.9)
XYZxyz(6.7570, 11.8985, 2.9773)
Luminance0.1190 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286F1B #621B6F
analogous
#526F1B #286F1B #1B6F38
triadic
#286F1B #1B286F #6F1B28
tetradic
#286F1B #1B526F #621B6F #6F381B
square
#286F1B #1B526F #621B6F #6F381B
split-complementary
#286F1B #381B6F #6F1B52
monochromatic
#091906 #163E0F #286F1B #3AA027 #4ECE36

Accessibility & contrast

On white

6.21
#286F1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#286F1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286F1B
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286F1B#FFFFFF#000000##FFFFFF
##286F1B1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72640C
Deuteranopia (green-blind)
#695F23
Tritanopia (blue-blind)
#1D6B5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #286f1b;
/* rgb */ color: rgb(40, 111, 27);
/* oklch */ color: oklch(47.9% 0.137 140.9);
Tailwind
colors: {
  custom: {
    50: '#6c995d',
    500: '#286f1b',
    950: '#000000',
  },
}
SCSS
$custom: #286f1b;
$custom-light: #6c995d;
$custom-dark: #000000;
JSON
{
  "hex": "#286f1b",
  "rgb": {
    "r": 40,
    "g": 111,
    "b": 27
  },
  "hsl": {
    "h": 110.714,
    "s": 60.87,
    "l": 27.059
  },
  "oklch": {
    "l": 0.47902,
    "c": 0.13685,
    "h": 140.9
  },
  "luminance": 0.11899
}

Semantic roles & 50–950 ramp

primary
#286F1B
secondary
#9542A4
accent
#44E4CB
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #286F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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