#286E38#286E38

#286E38 is a mid, moderate green. Relative luminance 0.119; OKLCH L 48.0% C 0.110 H 148.3°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#286E38
RGBrgb(40, 110, 56)
HSLhsl(134, 47%, 29%)
HSVhsv(134, 64%, 43%)
CMYKcmyk(63.6%, 0%, 49.1%, 56.9%)
CIE-LABlab(41.04, -34.64, 23.71)
CIE-LCHlch(41.04, 41.98, 145.61°)
OKLaboklab(48% -0.0936 0.0579)
OKLCHoklch(48% 0.11 148.3)
XYZxyz(7.1643, 11.8878, 5.6576)
Luminance0.1189 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286E38 #6E285E
analogous
#3B6E28 #286E38 #286E5B
triadic
#286E38 #38286E #6E3828
tetradic
#286E38 #283B6E #6E285E #6E5B28
square
#286E38 #283B6E #6E285E #6E5B28
split-complementary
#286E38 #5B286E #6E283B
monochromatic
#08160B #184121 #286E38 #389B4F #51C06A

Accessibility & contrast

On white

6.22
#286E38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#286E38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286E38
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286E38#FFFFFF#000000##FFFFFF
##286E381.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6534
Deuteranopia (green-blind)
#665E3C
Tritanopia (blue-blind)
#156C61
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #286e38;
/* rgb */ color: rgb(40, 110, 56);
/* oklch */ color: oklch(48.0% 0.110 148.3);
Tailwind
colors: {
  custom: {
    50: '#6a986f',
    500: '#286e38',
    950: '#000000',
  },
}
SCSS
$custom: #286e38;
$custom-light: #6a986f;
$custom-dark: #000000;
JSON
{
  "hex": "#286e38",
  "rgb": {
    "r": 40,
    "g": 110,
    "b": 56
  },
  "hsl": {
    "h": 133.714,
    "s": 46.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.47995,
    "c": 0.11007,
    "h": 148.3
  },
  "luminance": 0.11889
}

Semantic roles & 50–950 ramp

primary
#286E38
secondary
#A0518E
accent
#51B8D6
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #286E38

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

Preview Lab → · Contrast checker → · Palette generator →

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