#286B34#286B34

#286B34 is a mid, moderate green. Relative luminance 0.112; OKLCH L 47.1% C 0.110 H 147.1°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#286B34
RGBrgb(40, 107, 52)
HSLhsl(131, 46%, 29%)
HSVhsv(131, 63%, 42%)
CMYKcmyk(62.6%, 0%, 51.4%, 58%)
CIE-LABlab(39.94, -34.03, 24.56)
CIE-LCHlch(39.94, 41.97, 144.19°)
OKLaboklab(47.07% -0.092 0.0596)
OKLCHoklch(47.07% 0.11 147.1)
XYZxyz(6.7522, 11.2138, 5.0568)
Luminance0.1121 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286B34 #6B285F
analogous
#3E6B28 #286B34 #286B56
triadic
#286B34 #34286B #6B3428
tetradic
#286B34 #283E6B #6B285F #6B5628
square
#286B34 #283E6B #6B285F #6B5628
split-complementary
#286B34 #56286B #6B283E
monochromatic
#08160B #173E1E #286B34 #39984A #50BE64

Accessibility & contrast

On white

6.48
#286B34 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#286B34 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286B34
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286B34#FFFFFF#000000##FFFFFF
##286B341.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C622F
Deuteranopia (green-blind)
#645C38
Tritanopia (blue-blind)
#18695E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #286b34;
/* rgb */ color: rgb(40, 107, 52);
/* oklch */ color: oklch(47.1% 0.110 147.1);
Tailwind
colors: {
  custom: {
    50: '#6a966c',
    500: '#286b34',
    950: '#000000',
  },
}
SCSS
$custom: #286b34;
$custom-light: #6a966c;
$custom-dark: #000000;
JSON
{
  "hex": "#286b34",
  "rgb": {
    "r": 40,
    "g": 107,
    "b": 52
  },
  "hsl": {
    "h": 130.746,
    "s": 45.578,
    "l": 28.824
  },
  "oklch": {
    "l": 0.4707,
    "c": 0.10967,
    "h": 147.1
  },
  "luminance": 0.11214
}

Semantic roles & 50–950 ramp

primary
#286B34
secondary
#9D5190
accent
#53BED5
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070D07
muted
#7A7E7A

Preview Lab

Preview with #286B34

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

Preview Lab → · Contrast checker → · Palette generator →

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