#286F2A#286F2A

#286F2A is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.1% C 0.125 H 143.8°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#286F2A
RGBrgb(40, 111, 42)
HSLhsl(122, 47%, 30%)
HSVhsv(122, 64%, 44%)
CMYKcmyk(64%, 0%, 62.2%, 56.5%)
CIE-LABlab(41.19, -37.18, 31.38)
CIE-LCHlch(41.19, 48.65, 139.83°)
OKLaboklab(48.06% -0.1009 0.0739)
OKLCHoklch(48.06% 0.125 143.8)
XYZxyz(6.9770, 11.9865, 4.1360)
Luminance0.1199 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286F2A #6F286D
analogous
#4A6F28 #286F2A #286F4E
triadic
#286F2A #2A286F #6F2A28
tetradic
#286F2A #284A6F #6F286D #6F4E28
square
#286F2A #284A6F #6F286D #6F4E28
split-complementary
#286F2A #4E286F #6F284A
monochromatic
#081609 #184219 #286F2A #389C3B #51C054

Accessibility & contrast

On white

6.18
#286F2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#286F2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286F2A
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286F2A#FFFFFF#000000##FFFFFF
##286F2A1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716523
Deuteranopia (green-blind)
#685F30
Tritanopia (blue-blind)
#1A6C60
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #286f2a;
/* rgb */ color: rgb(40, 111, 42);
/* oklch */ color: oklch(48.1% 0.125 143.8);
Tailwind
colors: {
  custom: {
    50: '#6b9966',
    500: '#286f2a',
    950: '#000000',
  },
}
SCSS
$custom: #286f2a;
$custom-light: #6b9966;
$custom-dark: #000000;
JSON
{
  "hex": "#286f2a",
  "rgb": {
    "r": 40,
    "g": 111,
    "b": 42
  },
  "hsl": {
    "h": 121.69,
    "s": 47.02,
    "l": 29.608
  },
  "oklch": {
    "l": 0.48063,
    "c": 0.12508,
    "h": 143.8
  },
  "luminance": 0.11987
}

Semantic roles & 50–950 ramp

primary
#286F2A
secondary
#A1519F
accent
#51D3D7
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #286F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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