#286A23#286A23

#286A23 is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.5% C 0.124 H 142.2°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#286A23
RGBrgb(40, 106, 35)
HSLhsl(116, 50%, 28%)
HSVhsv(116, 67%, 42%)
CMYKcmyk(62.3%, 0%, 67%, 58.4%)
CIE-LABlab(39.38, -36.00, 32.77)
CIE-LCHlch(39.38, 48.68, 137.69°)
OKLaboklab(46.54% -0.0981 0.0762)
OKLCHoklch(46.54% 0.124 142.2)
XYZxyz(6.3321, 10.8800, 3.3561)
Luminance0.1088 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286A23 #65236A
analogous
#4B6A23 #286A23 #236A42
triadic
#286A23 #23286A #6A2328
tetradic
#286A23 #234B6A #65236A #6A4223
square
#286A23 #234B6A #65236A #6A4223
split-complementary
#286A23 #42236A #6A234B
monochromatic
#091708 #173C14 #286A23 #399832 #4EC246

Accessibility & contrast

On white

6.61
#286A23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#286A23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286A23
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286A23#FFFFFF#000000##FFFFFF
##286A231.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D601B
Deuteranopia (green-blind)
#645B29
Tritanopia (blue-blind)
#1D675B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #286a23;
/* rgb */ color: rgb(40, 106, 35);
/* oklch */ color: oklch(46.5% 0.124 142.2);
Tailwind
colors: {
  custom: {
    50: '#6a9561',
    500: '#286a23',
    950: '#000000',
  },
}
SCSS
$custom: #286a23;
$custom-light: #6a9561;
$custom-dark: #000000;
JSON
{
  "hex": "#286a23",
  "rgb": {
    "r": 40,
    "g": 106,
    "b": 35
  },
  "hsl": {
    "h": 115.775,
    "s": 50.355,
    "l": 27.647
  },
  "oklch": {
    "l": 0.46539,
    "c": 0.1242,
    "h": 142.2
  },
  "luminance": 0.10881
}

Semantic roles & 50–950 ramp

primary
#286A23
secondary
#984B9D
accent
#4EDAD0
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #286A23

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

Preview Lab → · Contrast checker → · Palette generator →

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