#286830#286830

#286830 is a mid, moderate green. Relative luminance 0.106; OKLCH L 46.1% C 0.109 H 145.9°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#286830
RGBrgb(40, 104, 48)
HSLhsl(128, 44%, 28%)
HSVhsv(128, 62%, 41%)
CMYKcmyk(61.5%, 0%, 53.8%, 59.2%)
CIE-LABlab(38.84, -33.39, 25.40)
CIE-LCHlch(38.84, 41.95, 142.74°)
OKLaboklab(46.15% -0.0904 0.0613)
OKLCHoklch(46.15% 0.109 145.9)
XYZxyz(6.3585, 10.5646, 4.4998)
Luminance0.1056 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286830 #682860
analogous
#406828 #286830 #286850
triadic
#286830 #302868 #683028
tetradic
#286830 #284068 #682860 #685028
square
#286830 #284068 #682860 #685028
split-complementary
#286830 #502868 #682840
monochromatic
#09160A #173C1C #286830 #399444 #4FBB5D

Accessibility & contrast

On white

6.75
#286830 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#286830 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286830
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286830#FFFFFF#000000##FFFFFF
##2868301.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5F2B
Deuteranopia (green-blind)
#615934
Tritanopia (blue-blind)
#1B665B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #286830;
/* rgb */ color: rgb(40, 104, 48);
/* oklch */ color: oklch(46.1% 0.109 145.9);
Tailwind
colors: {
  custom: {
    50: '#699469',
    500: '#286830',
    950: '#000000',
  },
}
SCSS
$custom: #286830;
$custom-light: #699469;
$custom-dark: #000000;
JSON
{
  "hex": "#286830",
  "rgb": {
    "r": 40,
    "g": 104,
    "b": 48
  },
  "hsl": {
    "h": 127.5,
    "s": 44.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.46145,
    "c": 0.10924,
    "h": 145.9
  },
  "luminance": 0.10565
}

Semantic roles & 50–950 ramp

primary
#286830
secondary
#9B5191
accent
#54C4D4
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #286830

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

Preview Lab → · Contrast checker → · Palette generator →

#286830 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva