#286F3A#286F3A

#286F3A is a mid, moderate green. Relative luminance 0.121; OKLCH L 48.3% C 0.110 H 148.9°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#286F3A
RGBrgb(40, 111, 58)
HSLhsl(135, 47%, 30%)
HSVhsv(135, 64%, 44%)
CMYKcmyk(64%, 0%, 47.7%, 56.5%)
CIE-LABlab(41.41, -34.72, 23.07)
CIE-LCHlch(41.41, 41.68, 146.40°)
OKLaboklab(48.32% -0.0938 0.0565)
OKLCHoklch(48.32% 0.11 148.9)
XYZxyz(7.3227, 12.1248, 5.9566)
Luminance0.1212 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286F3A #6F285D
analogous
#3A6F28 #286F3A #286F5E
triadic
#286F3A #3A286F #6F3A28
tetradic
#286F3A #283A6F #6F285D #6F5E28
square
#286F3A #283A6F #6F285D #6F5E28
split-complementary
#286F3A #5E286F #6F283A
monochromatic
#08160C #184222 #286F3A #389C52 #51C06D

Accessibility & contrast

On white

6.13
#286F3A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#286F3A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286F3A
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286F3A#FFFFFF#000000##FFFFFF
##286F3A1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706636
Deuteranopia (green-blind)
#675F3E
Tritanopia (blue-blind)
#146D62
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #286f3a;
/* rgb */ color: rgb(40, 111, 58);
/* oklch */ color: oklch(48.3% 0.110 148.9);
Tailwind
colors: {
  custom: {
    50: '#6a9971',
    500: '#286f3a',
    950: '#000000',
  },
}
SCSS
$custom: #286f3a;
$custom-light: #6a9971;
$custom-dark: #000000;
JSON
{
  "hex": "#286f3a",
  "rgb": {
    "r": 40,
    "g": 111,
    "b": 58
  },
  "hsl": {
    "h": 135.211,
    "s": 47.02,
    "l": 29.608
  },
  "oklch": {
    "l": 0.48315,
    "c": 0.10952,
    "h": 148.9
  },
  "luminance": 0.12125
}

Semantic roles & 50–950 ramp

primary
#286F3A
secondary
#A1518D
accent
#51B5D7
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #286F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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