#286F2B#286F2B

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

Color values

HEX#286F2B
RGBrgb(40, 111, 43)
HSLhsl(123, 47%, 30%)
HSVhsv(123, 64%, 44%)
CMYKcmyk(64%, 0%, 61.3%, 56.5%)
CIE-LABlab(41.21, -37.04, 30.89)
CIE-LCHlch(41.21, 48.23, 140.18°)
OKLaboklab(48.08% -0.1005 0.073)
OKLCHoklch(48.08% 0.124 144)
XYZxyz(6.9951, 11.9937, 4.2314)
Luminance0.1199 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286F2B #6F286C
analogous
#496F28 #286F2B #286F4F
triadic
#286F2B #2B286F #6F2B28
tetradic
#286F2B #28496F #6F286C #6F4F28
square
#286F2B #28496F #6F286C #6F4F28
split-complementary
#286F2B #4F286F #6F2849
monochromatic
#081609 #18421A #286F2B #389C3C #51C056

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##286F2B#FFFFFF#000000##FFFFFF
##286F2B1.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)
#716524
Deuteranopia (green-blind)
#685F30
Tritanopia (blue-blind)
#1A6C60
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #286f2b;
/* rgb */ color: rgb(40, 111, 43);
/* oklch */ color: oklch(48.1% 0.124 144.0);
Tailwind
colors: {
  custom: {
    50: '#6b9967',
    500: '#286f2b',
    950: '#000000',
  },
}
SCSS
$custom: #286f2b;
$custom-light: #6b9967;
$custom-dark: #000000;
JSON
{
  "hex": "#286f2b",
  "rgb": {
    "r": 40,
    "g": 111,
    "b": 43
  },
  "hsl": {
    "h": 122.535,
    "s": 47.02,
    "l": 29.608
  },
  "oklch": {
    "l": 0.48076,
    "c": 0.12417,
    "h": 144
  },
  "luminance": 0.11994
}

Semantic roles & 50–950 ramp

primary
#286F2B
secondary
#A1519E
accent
#51D1D7
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #286F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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