#286E2B#286E2B

#286E2B is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.8% C 0.123 H 144.0°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#286E2B
RGBrgb(40, 110, 43)
HSLhsl(123, 47%, 29%)
HSVhsv(123, 64%, 43%)
CMYKcmyk(63.6%, 0%, 60.9%, 56.9%)
CIE-LABlab(40.86, -36.64, 30.48)
CIE-LCHlch(40.86, 47.66, 140.24°)
OKLaboklab(47.79% -0.0994 0.0721)
OKLCHoklch(47.79% 0.123 144)
XYZxyz(6.8866, 11.7767, 4.1953)
Luminance0.1178 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286E2B #6E286B
analogous
#486E28 #286E2B #286E4E
triadic
#286E2B #2B286E #6E2B28
tetradic
#286E2B #28486E #6E286B #6E4E28
square
#286E2B #28486E #6E286B #6E4E28
split-complementary
#286E2B #4E286E #6E2848
monochromatic
#081609 #184119 #286E2B #389B3D #51C056

Accessibility & contrast

On white

6.26
#286E2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#286E2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286E2B
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286E2B#FFFFFF#000000##FFFFFF
##286E2B1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706424
Deuteranopia (green-blind)
#675E30
Tritanopia (blue-blind)
#1A6B5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #286e2b;
/* rgb */ color: rgb(40, 110, 43);
/* oklch */ color: oklch(47.8% 0.123 144.0);
Tailwind
colors: {
  custom: {
    50: '#6b9867',
    500: '#286e2b',
    950: '#000000',
  },
}
SCSS
$custom: #286e2b;
$custom-light: #6b9867;
$custom-dark: #000000;
JSON
{
  "hex": "#286e2b",
  "rgb": {
    "r": 40,
    "g": 110,
    "b": 43
  },
  "hsl": {
    "h": 122.571,
    "s": 46.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.4779,
    "c": 0.12277,
    "h": 144
  },
  "luminance": 0.11777
}

Semantic roles & 50–950 ramp

primary
#286E2B
secondary
#A0519D
accent
#51D1D6
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #286E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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