#286F2E#286F2E

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

Color values

HEX#286F2E
RGBrgb(40, 111, 46)
HSLhsl(125, 47%, 30%)
HSVhsv(125, 64%, 44%)
CMYKcmyk(64%, 0%, 58.6%, 56.5%)
CIE-LABlab(41.24, -36.63, 29.38)
CIE-LCHlch(41.24, 46.96, 141.27°)
OKLaboklab(48.12% -0.0992 0.07)
OKLCHoklch(48.12% 0.121 144.8)
XYZxyz(7.0522, 12.0166, 4.5320)
Luminance0.1202 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286F2E #6F2869
analogous
#466F28 #286F2E #286F51
triadic
#286F2E #2E286F #6F2E28
tetradic
#286F2E #28466F #6F2869 #6F5128
square
#286F2E #28466F #6F2869 #6F5128
split-complementary
#286F2E #51286F #6F2846
monochromatic
#081609 #18421B #286F2E #389C41 #51C05A

Accessibility & contrast

On white

6.17
#286F2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #286F2E
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286F2E#FFFFFF#000000##FFFFFF
##286F2E1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716528
Deuteranopia (green-blind)
#685F33
Tritanopia (blue-blind)
#196C61
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #286f2e;
/* rgb */ color: rgb(40, 111, 46);
/* oklch */ color: oklch(48.1% 0.121 144.8);
Tailwind
colors: {
  custom: {
    50: '#6b9969',
    500: '#286f2e',
    950: '#000000',
  },
}
SCSS
$custom: #286f2e;
$custom-light: #6b9969;
$custom-dark: #000000;
JSON
{
  "hex": "#286f2e",
  "rgb": {
    "r": 40,
    "g": 111,
    "b": 46
  },
  "hsl": {
    "h": 125.07,
    "s": 47.02,
    "l": 29.608
  },
  "oklch": {
    "l": 0.48118,
    "c": 0.12141,
    "h": 144.8
  },
  "luminance": 0.12017
}

Semantic roles & 50–950 ramp

primary
#286F2E
secondary
#A1519B
accent
#51CBD7
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #286F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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